mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 12:28:29 +00:00
Remove the .logoutWithoutConfirmation actions.
This commit is contained in:
@@ -545,8 +545,6 @@ class UserSessionFlowCoordinator: FlowCoordinatorProtocol {
|
|||||||
stateMachine.processEvent(.showStartChatScreen)
|
stateMachine.processEvent(.showStartChatScreen)
|
||||||
case .presentGlobalSearch:
|
case .presentGlobalSearch:
|
||||||
presentGlobalSearch()
|
presentGlobalSearch()
|
||||||
case .logoutWithoutConfirmation:
|
|
||||||
self.actionsSubject.send(.logout)
|
|
||||||
case .logout:
|
case .logout:
|
||||||
Task { await self.runLogoutFlow() }
|
Task { await self.runLogoutFlow() }
|
||||||
case .presentDeclineAndBlock(let userID, let roomID):
|
case .presentDeclineAndBlock(let userID, let roomID):
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ enum HomeScreenCoordinatorAction {
|
|||||||
case presentEncryptionResetScreen
|
case presentEncryptionResetScreen
|
||||||
case presentStartChatScreen
|
case presentStartChatScreen
|
||||||
case presentGlobalSearch
|
case presentGlobalSearch
|
||||||
case logoutWithoutConfirmation
|
|
||||||
case logout
|
case logout
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -83,8 +82,6 @@ final class HomeScreenCoordinator: CoordinatorProtocol {
|
|||||||
actionsSubject.send(.presentStartChatScreen)
|
actionsSubject.send(.presentStartChatScreen)
|
||||||
case .presentGlobalSearch:
|
case .presentGlobalSearch:
|
||||||
actionsSubject.send(.presentGlobalSearch)
|
actionsSubject.send(.presentGlobalSearch)
|
||||||
case .logoutWithoutConfirmation:
|
|
||||||
actionsSubject.send(.logoutWithoutConfirmation)
|
|
||||||
case .logout:
|
case .logout:
|
||||||
actionsSubject.send(.logout)
|
actionsSubject.send(.logout)
|
||||||
case .presentDeclineAndBlock(let userID, let roomID):
|
case .presentDeclineAndBlock(let userID, let roomID):
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ enum HomeScreenViewModelAction: Equatable {
|
|||||||
case presentFeedbackScreen
|
case presentFeedbackScreen
|
||||||
case presentStartChatScreen
|
case presentStartChatScreen
|
||||||
case presentGlobalSearch
|
case presentGlobalSearch
|
||||||
case logoutWithoutConfirmation
|
|
||||||
case logout
|
case logout
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user