mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-25 13:00:31 +01:00
Update Note.kt
This commit is contained in:
parent
5e5576a0e0
commit
ff7e114264
@ -41,7 +41,7 @@ data class Note(
|
|||||||
|
|
||||||
fun isLocked() = protectionType != PROTECTION_NONE
|
fun isLocked() = protectionType != PROTECTION_NONE
|
||||||
|
|
||||||
fun isBiometricLockUnavailable(context: Context): Boolean {
|
fun shouldBeUnlocked(context: Context): Boolean {
|
||||||
return protectionType == PROTECTION_FINGERPRINT && !context.isBiometricIdAvailable()
|
return protectionType == PROTECTION_FINGERPRINT && !context.isBiometricIdAvailable()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user