mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
fix #231, update widgets more often
This commit is contained in:
@@ -239,6 +239,7 @@ fun Context.getSyncedCalDAVCalendars() = CalDAVHandler(this).getCalDAVCalendars(
|
|||||||
fun Context.recheckCalDAVCalendars(callback: () -> Unit) {
|
fun Context.recheckCalDAVCalendars(callback: () -> Unit) {
|
||||||
if (config.caldavSync) {
|
if (config.caldavSync) {
|
||||||
CalDAVHandler(this).refreshCalendars(null, callback)
|
CalDAVHandler(this).refreshCalendars(null, callback)
|
||||||
|
updateWidgets()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -9,4 +9,4 @@
|
|||||||
android:minWidth="@dimen/min_widget_width"
|
android:minWidth="@dimen/min_widget_width"
|
||||||
android:previewImage="@drawable/img_widget_monthly_preview"
|
android:previewImage="@drawable/img_widget_monthly_preview"
|
||||||
android:resizeMode="horizontal|vertical"
|
android:resizeMode="horizontal|vertical"
|
||||||
android:updatePeriodMillis="3600000"/>
|
android:updatePeriodMillis="600000"/>
|
||||||
|
Reference in New Issue
Block a user