Skip to content

Commit bd4447f

Browse files
committed
fix SimpleMobileTools#416, do not show a notepicker on startup if we have only 1 note
1 parent 7a52d3e commit bd4447f

File tree

1 file changed

+4
-0
lines changed
  • app/src/main/kotlin/com/simplemobiletools/notes/pro/activities

1 file changed

+4
-0
lines changed

app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,10 @@ class MainActivity : SimpleActivity() {
10001000
}
10011001
}
10021002
}
1003+
1004+
if (it.size == 1 && config.showNotePicker) {
1005+
config.showNotePicker = false
1006+
}
10031007
}
10041008
}
10051009

0 commit comments

Comments
 (0)