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:
Mauro
2023-04-06 18:40:27 +02:00
committed by GitHub
parent cabb8e5442
commit f02a5c7ac0
16 changed files with 74 additions and 44 deletions
@@ -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