make sure we try updaing the viewpager from the UI thread after importing

This commit is contained in:
tibbi 2017-05-24 19:50:08 +02:00
parent fd2ec79435
commit 125c027fb8
1 changed files with 3 additions and 1 deletions

View File

@ -305,10 +305,12 @@ class MainActivity : SimpleActivity(), NavigationListener {
private fun importEventsDialog(path: String) {
ImportEventsDialog(this, path) {
if (it) {
runOnUiThread {
updateViewPager()
}
}
}
}
private fun tryExportEvents() {
if (hasReadStoragePermission()) {