mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
lets also refresh the calendar without any delay
This commit is contained in:
@ -226,6 +226,7 @@ class MainActivity : SimpleActivity(), NavigationListener {
|
||||
contentResolver.registerContentObserver(uri, false, calDAVSyncObserver)
|
||||
Bundle().apply {
|
||||
putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true)
|
||||
putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true)
|
||||
ContentResolver.requestSync(null, uri.authority, this)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user