update the calendar after adding holidays
This commit is contained in:
parent
e1075bee91
commit
abd875a607
1 changed files with 5 additions and 0 deletions
|
@ -285,6 +285,11 @@ class MainActivity : SimpleActivity(), NavigationListener {
|
||||||
}
|
}
|
||||||
val result = IcsImporter().importEvents(this, it as String, eventTypeId)
|
val result = IcsImporter().importEvents(this, it as String, eventTypeId)
|
||||||
handleParseResult(result)
|
handleParseResult(result)
|
||||||
|
if (result != IcsImporter.ImportResult.IMPORT_FAIL) {
|
||||||
|
runOnUiThread {
|
||||||
|
updateViewPager()
|
||||||
|
}
|
||||||
|
}
|
||||||
}).start()
|
}).start()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue