mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 20:39:24 +00:00
Switch to a custom HomeserverReachability instead of different publishers
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ struct SecureBackupLogoutConfirmationScreen_Previews: PreviewProvider, TestableP
|
||||
return .success(())
|
||||
}
|
||||
|
||||
let reachability: NetworkMonitorReachability = mode == .offline ? .unreachable : .reachable
|
||||
let reachability: HomeserverReachability = mode == .offline ? .unreachable : .reachable
|
||||
|
||||
let viewModel = SecureBackupLogoutConfirmationScreenViewModel(secureBackupController: secureBackupController,
|
||||
homeserverReachabilityPublisher: .init(reachability))
|
||||
|
||||
Reference in New Issue
Block a user