mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
adding a couple more alarm toggling related fixes
This commit is contained in:
@ -244,6 +244,9 @@ fun Context.showAlarmNotification(alarm: Alarm) {
|
||||
|
||||
if (alarm.days > 0) {
|
||||
scheduleNextAlarm(alarm, false)
|
||||
} else {
|
||||
dbHelper.updateAlarmEnabledState(alarm.id, false)
|
||||
updateWidgets()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user