mirror of
https://github.com/PhilKes/NotallyX.git
synced 2025-06-28 20:29:54 +00:00
Fix hide on create Activity if unlocked
This commit is contained in:
parent
e553e78efb
commit
2341c30586
1 changed files with 4 additions and 1 deletions
|
@ -64,7 +64,10 @@ abstract class LockedActivity<T : ViewBinding> : AppCompatActivity() {
|
||||||
|
|
||||||
override fun onPause() {
|
override fun onPause() {
|
||||||
super.onPause()
|
super.onPause()
|
||||||
if (preferences.biometricLock.value == BiometricLock.ENABLED) {
|
if (
|
||||||
|
preferences.biometricLock.value == BiometricLock.ENABLED &&
|
||||||
|
notallyXApplication.locked.value
|
||||||
|
) {
|
||||||
hide()
|
hide()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue