We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ad014b commit cd752ebCopy full SHA for cd752eb
presentation/src/main/java/com/stop/ui/alarmsetting/AlarmSettingViewModel.kt
@@ -62,7 +62,7 @@ class AlarmSettingViewModel @Inject constructor(
62
_alarmItem.value = it
63
64
if (it != null) {
65
- when(missionStatus){
+ when (missionStatus) {
66
MissionStatus.BEFORE -> {
67
alarmStatus.value = AlarmStatus.EXIST
68
}
@@ -87,6 +87,7 @@ class AlarmSettingViewModel @Inject constructor(
87
88
89
fun callAlarm(time: String) {
90
+ deleteAlarm()
91
alarmFunctions.callAlarm(time, alarmTime.value ?: 0)
92
93
0 commit comments