Skip to content

Commit

Permalink
Add single screen coordinator fade transition animation
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Dec 7, 2022
1 parent 3cbe65e commit 3371678
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ private struct SingleScreenCoordinatorView: View {
@ObservedObject var singleScreenCoordinator: SingleScreenCoordinator

var body: some View {
singleScreenCoordinator.rootModule?.coordinator.toPresentable()
ZStack {
singleScreenCoordinator.rootModule?.coordinator.toPresentable()
}
.animation(.elementDefault, value: singleScreenCoordinator.rootModule)
}
}

0 comments on commit 3371678

Please sign in to comment.