update the calendar after adding holidays

This commit is contained in:
tibbi 2017-10-21 16:15:22 +02:00
parent e1075bee91
commit abd875a607
1 changed files with 5 additions and 0 deletions

View File

@ -285,6 +285,11 @@ class MainActivity : SimpleActivity(), NavigationListener {
}
val result = IcsImporter().importEvents(this, it as String, eventTypeId)
handleParseResult(result)
if (result != IcsImporter.ImportResult.IMPORT_FAIL) {
runOnUiThread {
updateViewPager()
}
}
}).start()
}
}