mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-03 15:22:27 -08:00
Remove previous allow lock code
This commit is contained in:
1 parent
30bf039473
commit
b0f3711b4e
1 file changed
-6
@@ -215,12 +215,6 @@ class EntryEditActivity : LockingActivity(),
|
||||
entryEditAddToolBar?.apply {
|
||||
menuInflater.inflate(R.menu.entry_edit, menu)
|
||||
|
||||
menu.findItem(R.id.menu_add_field).apply {
|
||||
val allowLock = PreferencesUtil.showLockDatabaseButton(context)
|
||||
isEnabled = allowLock
|
||||
isVisible = allowLock
|
||||
}
|
||||
|
||||
menu.findItem(R.id.menu_add_field).apply {
|
||||
val allowCustomField = mNewEntry?.allowCustomFields() == true
|
||||
isEnabled = allowCustomField
|
||||
|
||||
Reference in new issue
Block a user