Remove the .logoutWithoutConfirmation actions.

This commit is contained in:
Doug
2025-07-30 13:49:40 +01:00
committed by Doug
parent 6edb41ebc9
commit ff948e666d
3 changed files with 0 additions and 6 deletions

View File

@@ -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):

View File

@@ -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):

View File

@@ -22,7 +22,6 @@ enum HomeScreenViewModelAction: Equatable {
case presentFeedbackScreen
case presentStartChatScreen
case presentGlobalSearch
case logoutWithoutConfirmation
case logout
}