Fix the push animation when selecting a room with the compact layout on iPad.

Also makes sure we don't animate the change of room in the split's detail when using the regular layout
This commit is contained in:
Doug
2025-08-07 16:23:56 +01:00
committed by Doug
parent cdf4e04928
commit a5d3b0ff77
2 changed files with 0 additions and 2 deletions
@@ -760,6 +760,5 @@ private struct NavigationStackCoordinatorView: View {
module.coordinator?.toPresentable()
.id(module.id)
}
.animation(.elementDefault, value: navigationStackCoordinator.rootModule)
}
}
@@ -525,7 +525,6 @@ class RoomFlowCoordinator: FlowCoordinatorProtocol {
roomScreenCoordinator = coordinator
if !isChildFlow {
let animated = UIDevice.current.userInterfaceIdiom == .phone ? animated : false
navigationStackCoordinator.setRootCoordinator(coordinator, animated: animated) { [weak self] in
self?.stateMachine.tryEvent(.dismissFlow)
}