Skip to content

Commit a7e91a0

Browse files
committed
feat : 미션 00:00:00에 끝나도록 수정
1 parent bf19862 commit a7e91a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

presentation/src/main/java/com/stop/ui/mission/MissionService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class MissionService : LifecycleService() {
147147

148148
timer.cancel()
149149
timer = lifecycleScope.launch(Dispatchers.IO) {
150-
while (diffTimeMillis > 0L) {
150+
while (diffTimeMillis > -1_000L) {
151151
lastTime = convertTimeMillisToString(diffTimeMillis)
152152
sendUserInfo()
153153
diffTimeMillis -= 1_000L

0 commit comments

Comments
 (0)