mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-03-07 04:47:40 +01:00
lets also refresh the calendar without any delay
This commit is contained in:
parent
b94ed6d07c
commit
90164ba8ed
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user