Dismiss a room's window when its flow finishes as there's no longer a reason for it to be alive.

This commit is contained in:
Stefan Ceriu
2026-03-30 14:27:06 +03:00
committed by Stefan Ceriu
parent ac5b61c973
commit bb61db285b
4 changed files with 13 additions and 0 deletions
@@ -900,6 +900,7 @@ class RoomFlowCoordinator: FlowCoordinatorProtocol {
// iPhone the compact module diffs call the dismissal callback and we present a blank space flow 🙈
if spaceRoomListProxy == nil {
navigationStackCoordinator.setRootCoordinator(nil, animated: false)
flowParameters.windowManager.closeAuxiliaryWindow(forType: .room(roomID: roomProxy.id))
}
}