mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Removing the about section title + Fix notification tap crash (#778)
* Removing the about section title updated tests * fixed a bug that made the app crash when tapping a notification in an unhandled state * missing screenshots
This commit is contained in:
@@ -62,8 +62,17 @@ class UserSessionFlowCoordinator: CoordinatorProtocol {
|
||||
stateMachine.isDisplayingRoomScreen(withRoomId: roomId)
|
||||
}
|
||||
|
||||
func tryDisplayingRoomScreen(roomId: String) {
|
||||
stateMachine.processEvent(.selectRoom(roomId: roomId))
|
||||
func handleAppRoute(_ appRoute: AppRoute) {
|
||||
switch stateMachine.state {
|
||||
case .feedbackScreen, .sessionVerificationScreen, .settingsScreen, .startChatScreen:
|
||||
navigationSplitCoordinator.setSheetCoordinator(nil)
|
||||
case .roomList, .initial:
|
||||
break
|
||||
}
|
||||
switch appRoute {
|
||||
case .room(let roomID):
|
||||
stateMachine.processEvent(.selectRoom(roomId: roomID))
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Private
|
||||
|
||||
Reference in New Issue
Block a user