mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 04:10:45 +01:00
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…
x
Reference in New Issue
Block a user