We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 897b7f3 commit dbdda56Copy full SHA for dbdda56
1 file changed
DevLog/App/Handler/UserTimeZoneSyncHandler.swift
@@ -6,7 +6,7 @@
6
//
7
8
import Combine
9
-import Foundation
+import UIKit
10
11
final class UserTimeZoneSyncHandler {
12
private let repository: UserDataRepository
@@ -20,6 +20,7 @@ final class UserTimeZoneSyncHandler {
20
self.repository = repository
21
22
notificationCenter.publisher(for: .didRequestUserTimeZoneSync)
23
+ .merge(with: notificationCenter.publisher(for: UIApplication.willEnterForegroundNotification))
24
.sink { [weak self] _ in
25
Task {
26
do {
0 commit comments