mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Setup animations for navigation root and split detail and sidebar module changes.
This commit is contained in:
committed by
Stefan Ceriu
parent
1e810f91ff
commit
c738d57af1
@@ -433,6 +433,8 @@ private struct NavigationSplitCoordinatorView: View {
|
||||
.navigationDestination(for: NavigationModule.self) { module in
|
||||
module.coordinator?.toPresentable()
|
||||
}
|
||||
.animation(.elementDefault, value: navigationSplitCoordinator.sidebarModule)
|
||||
.animation(.elementDefault, value: navigationSplitCoordinator.detailModule)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -721,5 +723,6 @@ private struct NavigationStackCoordinatorView: View {
|
||||
.fullScreenCover(item: $navigationStackCoordinator.fullScreenCoverModule) { module in
|
||||
module.coordinator?.toPresentable()
|
||||
}
|
||||
.animation(.elementDefault, value: navigationStackCoordinator.rootModule)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user