mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-01-05 21:07:30 +01:00
make sure we try updaing the viewpager from the UI thread after importing
This commit is contained in:
parent
fd2ec79435
commit
125c027fb8
@ -305,7 +305,9 @@ class MainActivity : SimpleActivity(), NavigationListener {
|
||||
private fun importEventsDialog(path: String) {
|
||||
ImportEventsDialog(this, path) {
|
||||
if (it) {
|
||||
updateViewPager()
|
||||
runOnUiThread {
|
||||
updateViewPager()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user