mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-01-31 02:44:57 +01:00
at showing a reminder reschedule only the given event, not all
This commit is contained in:
parent
a8c2e66340
commit
5a5beffeec
@ -6,7 +6,7 @@ import android.content.Intent
|
||||
import android.os.PowerManager
|
||||
import com.simplemobiletools.calendar.extensions.dbHelper
|
||||
import com.simplemobiletools.calendar.extensions.notifyEvent
|
||||
import com.simplemobiletools.calendar.extensions.scheduleAllEvents
|
||||
import com.simplemobiletools.calendar.extensions.scheduleNextEventReminder
|
||||
import com.simplemobiletools.calendar.extensions.updateListWidget
|
||||
import com.simplemobiletools.calendar.helpers.EVENT_ID
|
||||
import com.simplemobiletools.calendar.helpers.Formatter
|
||||
@ -37,6 +37,6 @@ class NotificationReceiver : BroadcastReceiver() {
|
||||
if (!event.ignoreEventOccurrences.contains(Formatter.getDayCodeFromTS(event.startTS).toInt())) {
|
||||
context.notifyEvent(event)
|
||||
}
|
||||
context.scheduleAllEvents()
|
||||
context.scheduleNextEventReminder(event, context.dbHelper)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user