mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-16 03:40:37 +01:00
try updating the widgets after the background caldav syncing
This commit is contained in:
parent
4cdce5f152
commit
3114e0bb6e
@ -4,9 +4,12 @@ import android.content.BroadcastReceiver
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import com.simplemobiletools.calendar.extensions.recheckCalDAVCalendars
|
||||
import com.simplemobiletools.calendar.extensions.updateWidgets
|
||||
|
||||
class CalDAVSyncReceiver : BroadcastReceiver() {
|
||||
override fun onReceive(context: Context, intent: Intent) {
|
||||
context.recheckCalDAVCalendars {}
|
||||
context.recheckCalDAVCalendars {
|
||||
context.updateWidgets()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user