diff --git a/ElementX/Sources/FlowCoordinators/UserSessionFlowCoordinator.swift b/ElementX/Sources/FlowCoordinators/UserSessionFlowCoordinator.swift index 383872017..f410944f5 100644 --- a/ElementX/Sources/FlowCoordinators/UserSessionFlowCoordinator.swift +++ b/ElementX/Sources/FlowCoordinators/UserSessionFlowCoordinator.swift @@ -545,8 +545,6 @@ class UserSessionFlowCoordinator: FlowCoordinatorProtocol { stateMachine.processEvent(.showStartChatScreen) case .presentGlobalSearch: presentGlobalSearch() - case .logoutWithoutConfirmation: - self.actionsSubject.send(.logout) case .logout: Task { await self.runLogoutFlow() } case .presentDeclineAndBlock(let userID, let roomID): diff --git a/ElementX/Sources/Screens/HomeScreen/HomeScreenCoordinator.swift b/ElementX/Sources/Screens/HomeScreen/HomeScreenCoordinator.swift index 28b052c81..4a7ac9bac 100644 --- a/ElementX/Sources/Screens/HomeScreen/HomeScreenCoordinator.swift +++ b/ElementX/Sources/Screens/HomeScreen/HomeScreenCoordinator.swift @@ -31,7 +31,6 @@ enum HomeScreenCoordinatorAction { case presentEncryptionResetScreen case presentStartChatScreen case presentGlobalSearch - case logoutWithoutConfirmation case logout } @@ -83,8 +82,6 @@ final class HomeScreenCoordinator: CoordinatorProtocol { actionsSubject.send(.presentStartChatScreen) case .presentGlobalSearch: actionsSubject.send(.presentGlobalSearch) - case .logoutWithoutConfirmation: - actionsSubject.send(.logoutWithoutConfirmation) case .logout: actionsSubject.send(.logout) case .presentDeclineAndBlock(let userID, let roomID): diff --git a/ElementX/Sources/Screens/HomeScreen/HomeScreenModels.swift b/ElementX/Sources/Screens/HomeScreen/HomeScreenModels.swift index e42046044..f83a64973 100644 --- a/ElementX/Sources/Screens/HomeScreen/HomeScreenModels.swift +++ b/ElementX/Sources/Screens/HomeScreen/HomeScreenModels.swift @@ -22,7 +22,6 @@ enum HomeScreenViewModelAction: Equatable { case presentFeedbackScreen case presentStartChatScreen case presentGlobalSearch - case logoutWithoutConfirmation case logout }