Fix logic of app unlock (#7569)

This commit is contained in:
AntsyLich
2022-07-22 08:23:59 +06:00
committed by GitHub
parent 3547d0142f
commit 8ea05e852e
4 changed files with 4 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ class PreferencesHelper(val context: Context) {
fun lockAppAfter() = flowPrefs.getInt("lock_app_after", 0)
fun lastAppUnlock() = flowPrefs.getLong("last_app_unlock", 0)
fun lastAppClosed() = flowPrefs.getLong("last_app_closed", 0)
fun secureScreen() = flowPrefs.getEnum("secure_screen_v2", Values.SecureScreenMode.INCOGNITO)