mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Check network reachability before attempting to restart the sync service
This commit is contained in:
@@ -142,7 +142,8 @@ class UserSessionStore: UserSessionStoreProtocol {
|
||||
|
||||
let clientProxy = await ClientProxy(client: client,
|
||||
backgroundTaskService: backgroundTaskService,
|
||||
appSettings: ServiceLocator.shared.settings)
|
||||
appSettings: ServiceLocator.shared.settings,
|
||||
networkMonitor: ServiceLocator.shared.networkMonitor)
|
||||
|
||||
return .success(clientProxy)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user