Skip to content

Commit 4ae1deb

Browse files
committed
fix : bottomsheet 에서 미션 시작시 카운트 다운 시작 로직 추가
1 parent 2d5c7af commit 4ae1deb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

presentation/src/main/java/com/stop/ui/map/MapFragment.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,11 @@ class MapFragment : Fragment(), MapHandler {
251251
}
252252

253253
fun setMissionStart() {
254+
alarmViewModel.lastTimeCountDown.value?.let {
255+
if(it.isBlank()){
256+
alarmViewModel.startCountDownTimer()
257+
}
258+
}
254259
findNavController().navigate(R.id.action_mapFragment_to_missionFragment)
255260
}
256261

0 commit comments

Comments
 (0)