mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Remove global "Write-protected" setting
This addresses J-Jamet's feedback that keeping the global setting would potentially lead to confusion, so it should be removed now that we are remembering each database's read-only state.
This commit is contained in:
@@ -148,7 +148,7 @@ class MainCredentialActivity : DatabaseModeActivity() {
|
||||
mReadOnly = if (savedInstanceState != null && savedInstanceState.containsKey(KEY_READ_ONLY)) {
|
||||
savedInstanceState.getBoolean(KEY_READ_ONLY)
|
||||
} else {
|
||||
PreferencesUtil.enableReadOnlyDatabase(this)
|
||||
false
|
||||
}
|
||||
mRememberKeyFile = PreferencesUtil.rememberKeyFileLocations(this)
|
||||
mRememberHardwareKey = PreferencesUtil.rememberHardwareKey(this)
|
||||
|
||||
Reference in New Issue
Block a user