Do not start loading on server selection

This commit is contained in:
ismailgulek
2022-05-27 17:52:13 +03:00
parent dc4845618c
commit b35639bdcf
@@ -57,7 +57,9 @@ final class OnboardingUseCaseSelectionCoordinator: Coordinator, Presentable {
MXLog.debug("[OnboardingUseCaseSelectionCoordinator] OnboardingUseCaseViewModel did complete with result: \(result).")
// Show a loading indicator which can be dismissed externally by calling `stop`.
self.startLoading()
if result != .customServer {
self.startLoading()
}
self.completion?(result)
}
}