Make sure client services are resumed before handling app routes.

This commit is contained in:
Stefan Ceriu
2026-06-04 14:37:22 +03:00
parent 713af64fc6
commit 393abe6fa5
@@ -245,8 +245,16 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
}
func handleAppRoute(_ appRoute: AppRoute, windowType: SecondaryWindowType?) {
Task {
await asyncHandleAppRoute(appRoute, windowType: windowType)
}
}
private func asyncHandleAppRoute(_ appRoute: AppRoute, windowType: SecondaryWindowType?) async {
MXLog.info("Handling app route: \(appRoute)")
await resumeServices()
if let windowType {
windowManager.handleRoute(appRoute, windowType: windowType)
return