mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-01-28 01:19:20 +01:00
avoid rechecking caldav calendars twice at app launch
This commit is contained in:
parent
9813ddd6de
commit
06fa70dc16
@ -372,7 +372,6 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
||||
}
|
||||
|
||||
private fun calDAVChanged() {
|
||||
recheckCalDAVCalendars {
|
||||
refreshViewPager()
|
||||
if (showCalDAVRefreshToast) {
|
||||
toast(R.string.refreshing_complete)
|
||||
@ -381,7 +380,6 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
||||
swipe_refresh_layout.isRefreshing = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun addHolidays() {
|
||||
val items = getHolidayRadioItems()
|
||||
|
Loading…
x
Reference in New Issue
Block a user