Skip to content

Commit

Permalink
feat : 알람 중복 등록 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
koreatlwls committed Dec 14, 2022
1 parent 6ad014b commit cd752eb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class AlarmSettingViewModel @Inject constructor(
_alarmItem.value = it

if (it != null) {
when(missionStatus){
when (missionStatus) {
MissionStatus.BEFORE -> {
alarmStatus.value = AlarmStatus.EXIST
}
Expand All @@ -87,6 +87,7 @@ class AlarmSettingViewModel @Inject constructor(
}

fun callAlarm(time: String) {
deleteAlarm()
alarmFunctions.callAlarm(time, alarmTime.value ?: 0)
}

Expand Down

0 comments on commit cd752eb

Please sign in to comment.