fix compile error, Task not throwing

This commit is contained in:
Flavio Alescio
2023-05-12 18:41:11 +02:00
committed by Flescio
parent 6723da16c6
commit fb76d062fc
@@ -446,7 +446,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationCoordinatorDelegate,
// Allow for everything to deallocate properly
Task {
try await Task.sleep(for: .seconds(2))
try? await Task.sleep(for: .seconds(2))
userSessionStore.clearCache(for: userID)
stateMachine.processEvent(.startWithExistingSession)
hideLoadingIndicator()