reschedule every notification at receiving one to be sure, its cheap
This commit is contained in:
parent
9735bcf0c0
commit
f559577d90
|
@ -5,7 +5,7 @@ import android.content.Context
|
|||
import android.content.Intent
|
||||
import com.simplemobiletools.calendar.extensions.dbHelper
|
||||
import com.simplemobiletools.calendar.extensions.notifyEvent
|
||||
import com.simplemobiletools.calendar.extensions.scheduleNextEventReminder
|
||||
import com.simplemobiletools.calendar.extensions.scheduleAllEvents
|
||||
import com.simplemobiletools.calendar.extensions.updateListWidget
|
||||
import com.simplemobiletools.calendar.helpers.EVENT_ID
|
||||
import com.simplemobiletools.calendar.helpers.Formatter
|
||||
|
@ -24,6 +24,6 @@ class NotificationReceiver : BroadcastReceiver() {
|
|||
if (!event.ignoreEventOccurrences.contains(Formatter.getDayCodeFromTS(event.startTS).toInt())) {
|
||||
context.notifyEvent(event)
|
||||
}
|
||||
context.scheduleNextEventReminder(event)
|
||||
context.scheduleAllEvents()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue