We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de2247c + e66f9fe commit 448732bCopy full SHA for 448732b
Windscribe/Repository/EmergencyConnect/EmergencyRepositoryImpl.swift
@@ -108,10 +108,7 @@ class EmergencyRepositoryImpl: EmergencyRepository {
108
Task {
109
do {
110
let customConfig = try await self.saveConfiguration(data: data, configInfo: configInfo)
111
- // LocationsManager call must be on main thread
112
- await MainActor.run {
113
- self.locationsManager.saveCustomConfig(withID: customConfig.id)
114
- }
+ self.locationsManager.saveCustomConfig(withID: customConfig.id)
115
promise(.success(customConfig))
116
} catch {
117
promise(.failure(error))
0 commit comments