mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
Update Note.kt
This commit is contained in:
@ -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()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user