Skip to content

Commit d2cfb39

Browse files
committed
feat : Modify 빈값으로 지우기 로직 -> remove 함수 찾아서 변경
1 parent 51a3153 commit d2cfb39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/src/main/java/com/stop/data/local/source/alarm/AlarmLocalDataSourceImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal class AlarmLocalDataSourceImpl @Inject constructor(
2828

2929
override suspend fun deleteAlarm() {
3030
context.datastore.edit { preferences ->
31-
preferences[ALARM] = ""
31+
preferences.remove(ALARM)
3232
}
3333
}
3434

0 commit comments

Comments
 (0)