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

Improve transitions in AppView

parent fb680166
Branches
Tags
1 merge request!1Client management
......@@ -37,7 +37,10 @@ struct AppView: View {
LandingView(store: store)
}
.navigationViewStyle(.stack)
.transition(.move(edge: .leading))
.transition(.asymmetric(
insertion: .move(edge: .leading),
removal: .opacity
))
}
)
......@@ -49,7 +52,10 @@ struct AppView: View {
SessionView(store: store)
}
.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.
Please register or to comment