File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/src/main/kotlin/com/simplemobiletools/notes/pro/activities Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ class WidgetConfigureActivity : SimpleActivity() {
104104
105105 if (mNotes.size == 1 && note == null ) {
106106 note = mNotes.first()
107- if (note.isBiometricLockUnavailable (this )) {
107+ if (note.shouldBeUnlocked (this )) {
108108 updateCurrentNote(note)
109109 } else {
110110 performSecurityCheck(
@@ -129,7 +129,7 @@ class WidgetConfigureActivity : SimpleActivity() {
129129 RadioGroupDialog (this , items, mCurrentNoteId.toInt()) {
130130 val selectedId = it as Int
131131 val note = mNotes.firstOrNull { it.id!! .toInt() == selectedId } ? : return @RadioGroupDialog
132- if (note.protectionType == PROTECTION_NONE || note.isBiometricLockUnavailable (this )) {
132+ if (note.protectionType == PROTECTION_NONE || note.shouldBeUnlocked (this )) {
133133 updateCurrentNote(note)
134134 } else {
135135 performSecurityCheck(
You can’t perform that action at this time.
0 commit comments