Update Note.kt

This commit is contained in:
Tibor Kaputa
2021-09-08 09:53:04 +02:00
committed by GitHub
parent 5e5576a0e0
commit ff7e114264

View File

@ -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()
}
}