mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-23 03:50:07 +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 isBiometricLockUnavailable(context: Context): Boolean {
|
||||
fun shouldBeUnlocked(context: Context): Boolean {
|
||||
return protectionType == PROTECTION_FINGERPRINT && !context.isBiometricIdAvailable()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user