mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-04 12:24:49 +00:00
Fix crash that would occur when locking the screen with a locked vault
This commit is contained in:
parent
66dd3561cf
commit
fbd6a5931e
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ public class AegisApplication extends Application {
|
|||
}
|
||||
|
||||
public boolean isAutoLockEnabled() {
|
||||
return _prefs.isAutoLockEnabled() && _manager.isEncryptionEnabled() && !isVaultLocked();
|
||||
return _prefs.isAutoLockEnabled() && !isVaultLocked() && _manager.isEncryptionEnabled() ;
|
||||
}
|
||||
|
||||
public void registerLockListener(LockListener listener) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue