Fix a crash experienced when trying to report a crash. (#3086)

This commit is contained in:
Doug
2024-07-25 15:56:45 +01:00
committed by GitHub
parent c10ed6169c
commit 8ff53da4d2
2 changed files with 14 additions and 9 deletions
@@ -112,10 +112,10 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
notificationManager = NotificationManager(notificationCenter: UNUserNotificationCenter.current(),
appSettings: appSettings)
Self.setupServiceLocator(appSettings: appSettings, appHooks: appHooks)
Self.setupSentry(appSettings: appSettings)
Self.setupServiceLocator(appSettings: appSettings, appHooks: appHooks)
ServiceLocator.shared.analytics.signpost.start()
ServiceLocator.shared.analytics.startIfEnabled()
windowManager.delegate = self