Ferrite: Use legacy NavigationView

NavigationStack has some glaring UI bugs, so switch back to
NavigationView for now since none of the new benefits from NavigationStack
are actually being used.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2023-03-29 15:24:19 -04:00
parent 3828ffa539
commit 4ba58dc67f

View file

@ -14,15 +14,18 @@ struct NavView<Content: View>: View {
@ViewBuilder var content: Content
var body: some View {
// Uncomment once NavigationStack issues are fixed
/*
if #available(iOS 16, *) {
NavigationStack {
content
}
} else {
*/
NavigationView {
content
}
.navigationViewStyle(.stack)
}
//}
}
}