mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
Handle notification for multiple timers
- update title for timer notification in finished state to be the label if it is empty - remove duration field from the TimerEvent.Reset
This commit is contained in:
@ -2,7 +2,7 @@ package com.simplemobiletools.clock.models
|
||||
|
||||
sealed class TimerEvent(open val timerId: Int) {
|
||||
data class Delete(override val timerId: Int) : TimerEvent(timerId)
|
||||
data class Reset(override val timerId: Int, val duration: Long) : TimerEvent(timerId)
|
||||
data class Reset(override val timerId: Int) : TimerEvent(timerId)
|
||||
data class Start(override val timerId: Int, val duration: Long) : TimerEvent(timerId)
|
||||
data class Pause(override val timerId: Int, val duration: Long) : TimerEvent(timerId)
|
||||
data class Finish(override val timerId: Int, val duration: Long) : TimerEvent(timerId)
|
||||
|
Reference in New Issue
Block a user