update the calendar after adding holidays
This commit is contained in:
parent
e1075bee91
commit
abd875a607
|
@ -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 New Issue