Skip to content

Commit c822645

Browse files
committed
fix #214, do not show the note picker at rotating the device
1 parent 11ef37f commit c822645

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,10 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
7777
}
7878

7979
storeStateVariables()
80-
if (config.showNotePicker) {
80+
if (config.showNotePicker && savedInstanceState == null) {
8181
displayOpenNoteDialog()
8282
}
83+
8384
wasInit = true
8485
checkAppOnSDCard()
8586
}

0 commit comments

Comments
 (0)