mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Invite again user on direct chats (#1087)
* Add leaveRoom section for DMs * Add invite alert in RoomScreenViewModel * Show alert on composer focus * Add localisations * Refine invite alert logics * Amend tests * Update project * Fix local variable name * Refactor show invite alert logic
This commit is contained in:
@@ -290,7 +290,9 @@ class RoomFlowCoordinator: FlowCoordinatorProtocol {
|
||||
}
|
||||
|
||||
private func dismissRoom(animated: Bool) {
|
||||
navigationStackCoordinator.popToRoot(animated: animated)
|
||||
// The room isn't in the same navigation stack of the home screen.
|
||||
// Animating the popToRoot causes weird animations on when the room is left from room's details
|
||||
navigationStackCoordinator.popToRoot(animated: false)
|
||||
navigationSplitCoordinator.setDetailCoordinator(nil, animated: animated)
|
||||
roomProxy = nil
|
||||
timelineController = nil
|
||||
|
||||
Reference in New Issue
Block a user