Remove the .logoutWithoutConfirmation actions.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user