mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
Removed time formatting function to avoid code duplication
This commit is contained in:
@ -37,7 +37,7 @@ class DismissAlarmReceiver : BroadcastReceiver() {
|
||||
private fun scheduleNextAlarm(alarm: Alarm, context: Context) {
|
||||
val oldBitmask = alarm.days
|
||||
alarm.days = removeTodayFromBitmask(oldBitmask)
|
||||
context.scheduleNextAlarm(alarm, true)
|
||||
context.scheduleNextAlarm(alarm, false)
|
||||
alarm.days = oldBitmask
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user