forked from penguin86/luna-tracker
MainActivity: do not switch logbook on reload
This commit is contained in:
@@ -108,7 +108,11 @@ class MainActivity : AppCompatActivity() {
|
|||||||
loadLogbookList()
|
loadLogbookList()
|
||||||
}
|
}
|
||||||
findViewById<View>(R.id.button_sync).setOnClickListener {
|
findViewById<View>(R.id.button_sync).setOnClickListener {
|
||||||
loadLogbookList()
|
if (logbook != null) {
|
||||||
|
loadLogbook(logbook!!.name)
|
||||||
|
} else {
|
||||||
|
loadLogbookList()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user