diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt index ee57a8dc4..e058fb8b9 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt @@ -224,7 +224,10 @@ class MainActivity : SimpleActivity(), NavigationListener { toast(R.string.refreshing) val uri = CalendarContract.Calendars.CONTENT_URI contentResolver.registerContentObserver(uri, false, calDAVSyncObserver) - ContentResolver.requestSync(null, uri.authority, Bundle()) + Bundle().apply { + putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true) + ContentResolver.requestSync(null, uri.authority, this) + } } private val calDAVSyncObserver = object : ContentObserver(Handler()) {