Skip to content
Snippets Groups Projects
Commit 692e7e1b authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Improve transitions in AppView

parent fb680166
No related branches found
No related tags found
1 merge request!1Client management
...@@ -37,7 +37,10 @@ struct AppView: View { ...@@ -37,7 +37,10 @@ struct AppView: View {
LandingView(store: store) LandingView(store: store)
} }
.navigationViewStyle(.stack) .navigationViewStyle(.stack)
.transition(.move(edge: .leading)) .transition(.asymmetric(
insertion: .move(edge: .leading),
removal: .opacity
))
} }
) )
...@@ -49,7 +52,10 @@ struct AppView: View { ...@@ -49,7 +52,10 @@ struct AppView: View {
SessionView(store: store) SessionView(store: store)
} }
.navigationViewStyle(.stack) .navigationViewStyle(.stack)
.transition(.move(edge: .trailing)) .transition(.asymmetric(
insertion: .move(edge: .trailing),
removal: .opacity
))
} }
) )
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment