We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fc41e4 commit fa947ffCopy full SHA for fa947ff
app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/NotesHelper.kt
@@ -11,7 +11,7 @@ class NotesHelper(val activity: Activity) {
11
fun getNotes(callback: (notes: ArrayList<Note>) -> Unit) {
12
Thread {
13
// make sure the initial note has enough time to be precreated
14
- if (activity.config.appRunCount == 1) {
+ if (activity.config.appRunCount <= 1) {
15
activity.notesDB.getNotes()
16
Thread.sleep(200)
17
}
0 commit comments