MESSENGER-5556 refactoring

This commit is contained in:
JanNiklas Grabowski
2024-03-20 14:46:38 +01:00
parent 60ca0cab30
commit 47a720a767
6 changed files with 22 additions and 32 deletions

View File

@@ -285,7 +285,7 @@ struct AuthenticationServerSelectionScreen: View {
self.showAlertIfNeeded()
}
} else {
ServerDowntimeDefaultService.shared.fetchDowntimesWithDirectRequest(localUrlString:viewModel.homeserverAddress) { success in
ServerDowntimeDefaultService.shared.fetchDowntimesWithDirectRequest(localUrlString:viewModel.homeserverAddress) { success, _, _, _ in
DispatchQueue.main.async {
self.isFetchingDowntime = false // hide progressview
if success {