Skip to content

Commit 4f4b958

Browse files
committed
fix: 보이지 않던 분 단위가 0이 아닌 다른 값으로 유지되는 현상 해결
1 parent ee65ea0 commit 4f4b958

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

DevLog/Presentation/ViewModel/PushNotificationSettingsViewModel.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ final class PushNotificationSettingsViewModel: Store {
5555
// 시간만 변경
5656
if let newDate = calendar.date(
5757
bySettingHour: value,
58-
minute: calendar.component(.minute, from: state.pushNotificationTime),
59-
second: 0,
58+
minute: 0, second: 0,
6059
of: state.pushNotificationTime
6160
) {
6261
self.state.pushNotificationTime = newDate

0 commit comments

Comments
 (0)