Skip to content

Commit dbdda56

Browse files
committed
fix: 앱이 켜진 이후 시간대가 변경되면 반영되지 않는 현상 해결
1 parent 897b7f3 commit dbdda56

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

DevLog/App/Handler/UserTimeZoneSyncHandler.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
import Combine
9-
import Foundation
9+
import UIKit
1010

1111
final class UserTimeZoneSyncHandler {
1212
private let repository: UserDataRepository
@@ -20,6 +20,7 @@ final class UserTimeZoneSyncHandler {
2020
self.repository = repository
2121

2222
notificationCenter.publisher(for: .didRequestUserTimeZoneSync)
23+
.merge(with: notificationCenter.publisher(for: UIApplication.willEnterForegroundNotification))
2324
.sink { [weak self] _ in
2425
Task {
2526
do {

0 commit comments

Comments
 (0)