mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-02-25 19:16:53 -05: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