Add settings header

This commit is contained in:
Tommaso Berlose
2020-05-16 20:24:11 +02:00
parent 233761a169
commit 06443ddddb
14 changed files with 265 additions and 90 deletions

View File

@ -105,7 +105,7 @@ class UpdatesReceiver : BroadcastReceiver() {
} else {
setExact(
AlarmManager.RTC,
event.startDate - diff.hours * 1000 * 60 * 60,
event.startDate - diff.hours * 1000 * 60 * 60 + if (diff.minutes > 30) (- 30) else (+ 30),
PendingIntent.getBroadcast(
context,
event.eventID.toInt(),