adding a couple more alarm toggling related fixes

This commit is contained in:
tibbi
2020-11-05 11:21:29 +01:00
parent 5ac5bf8a0c
commit b0652399ea
2 changed files with 21 additions and 5 deletions

View File

@ -244,6 +244,9 @@ fun Context.showAlarmNotification(alarm: Alarm) {
if (alarm.days > 0) {
scheduleNextAlarm(alarm, false)
} else {
dbHelper.updateAlarmEnabledState(alarm.id, false)
updateWidgets()
}
}