fix #231, update widgets more often
This commit is contained in:
parent
058d02e774
commit
ffb18dfb80
|
@ -239,6 +239,7 @@ fun Context.getSyncedCalDAVCalendars() = CalDAVHandler(this).getCalDAVCalendars(
|
|||
fun Context.recheckCalDAVCalendars(callback: () -> Unit) {
|
||||
if (config.caldavSync) {
|
||||
CalDAVHandler(this).refreshCalendars(null, callback)
|
||||
updateWidgets()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
android:minWidth="@dimen/min_widget_width"
|
||||
android:previewImage="@drawable/img_widget_monthly_preview"
|
||||
android:resizeMode="horizontal|vertical"
|
||||
android:updatePeriodMillis="3600000"/>
|
||||
android:updatePeriodMillis="600000"/>
|
||||
|
|
Loading…
Reference in New Issue