mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
Update MainActivity.kt
This commit is contained in:
parent
ff7e114264
commit
99abbdabcc
@ -317,7 +317,7 @@ class MainActivity : SimpleActivity() {
|
|||||||
|
|
||||||
private fun initViewPager(wantedNoteId: Long? = null) {
|
private fun initViewPager(wantedNoteId: Long? = null) {
|
||||||
NotesHelper(this).getNotes { notes ->
|
NotesHelper(this).getNotes { notes ->
|
||||||
notes.filter { it.isBiometricLockUnavailable(this) }
|
notes.filter { it.shouldBeUnlocked(this) }
|
||||||
.forEach(::removeProtection)
|
.forEach(::removeProtection)
|
||||||
|
|
||||||
mNotes = notes
|
mNotes = notes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user