Update MainActivity.kt

This commit is contained in:
Tibor Kaputa 2021-09-08 09:53:22 +02:00 committed by GitHub
parent ff7e114264
commit 99abbdabcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ class MainActivity : SimpleActivity() {
private fun initViewPager(wantedNoteId: Long? = null) {
NotesHelper(this).getNotes { notes ->
notes.filter { it.isBiometricLockUnavailable(this) }
notes.filter { it.shouldBeUnlocked(this) }
.forEach(::removeProtection)
mNotes = notes