mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
Store App lock password hash in shared prefs
Add workflow release.yml Fix R8 error
This commit is contained in:
@@ -489,7 +489,7 @@ fun Home(vm: MyViewModel) {
|
||||
}
|
||||
DisposableEffect(lifecycleOwner) {
|
||||
val observer = LifecycleEventObserver { _, event ->
|
||||
if(event == Lifecycle.Event.ON_CREATE && !SharedPrefs(context).lockPassword.isNullOrEmpty()) {
|
||||
if(event == Lifecycle.Event.ON_CREATE && !SharedPrefs(context).lockPasswordHash.isNullOrEmpty()) {
|
||||
navController.navigate(AppLock)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user