mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Don't show link if url empty
This commit is contained in:
@@ -283,6 +283,10 @@ class EntryActivity : LockingActivity() {
|
||||
inflater.inflate(R.menu.entry, menu)
|
||||
inflater.inflate(R.menu.database, menu)
|
||||
|
||||
if (mEntryViewModel.getEntry()?.url?.isEmpty() != false) {
|
||||
menu.findItem(R.id.menu_goto_url)?.isVisible = false
|
||||
}
|
||||
|
||||
val entryIsHistory = mEntryViewModel.getEntryIsHistory()
|
||||
|
||||
if (entryIsHistory && !mReadOnly) {
|
||||
|
||||
Reference in New Issue
Block a user