Update login and server selection screens (#651)

* Update login and server selection screens.

* Replace all NavigationViews with NavigationStacks
This commit is contained in:
Doug
2023-03-02 18:05:18 +00:00
committed by GitHub
parent e7a8dc8cc2
commit 1c09a7eace
84 changed files with 287 additions and 205 deletions
@@ -20,7 +20,7 @@ struct SessionVerificationScreen: View {
@ObservedObject var context: SessionVerificationViewModel.Context
var body: some View {
NavigationView {
NavigationStack {
ScrollView {
VStack(spacing: 32) {
screenHeader
@@ -36,7 +36,6 @@ struct SessionVerificationScreen: View {
.background(Color.element.background.ignoresSafeArea())
.safeAreaInset(edge: .bottom) { actionButtons.padding() }
}
.navigationViewStyle(.stack)
.interactiveDismissDisabled() // Make sure dismissal goes through the state machine(s).
}