Remove the .logoutWithoutConfirmation actions.

This commit is contained in:
Doug
2025-07-30 13:49:40 +01:00
committed by Doug
parent 5242e7fb6c
commit 1b90815e10
3 changed files with 0 additions and 6 deletions
@@ -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):
@@ -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):
@@ -22,7 +22,6 @@ enum HomeScreenViewModelAction: Equatable {
case presentFeedbackScreen
case presentStartChatScreen
case presentGlobalSearch
case logoutWithoutConfirmation
case logout
}