fix #214, do not show the note picker at rotating the device

This commit is contained in:
tibbi 2018-08-10 20:25:54 +02:00
parent 11ef37fe54
commit c822645240
1 changed files with 2 additions and 1 deletions

View File

@ -77,9 +77,10 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
}
storeStateVariables()
if (config.showNotePicker) {
if (config.showNotePicker && savedInstanceState == null) {
displayOpenNoteDialog()
}
wasInit = true
checkAppOnSDCard()
}