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:
parent
3828ffa539
commit
4ba58dc67f
1 changed files with 4 additions and 1 deletions
|
|
@ -14,15 +14,18 @@ struct NavView<Content: View>: View {
|
||||||
@ViewBuilder var content: Content
|
@ViewBuilder var content: Content
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
// Uncomment once NavigationStack issues are fixed
|
||||||
|
/*
|
||||||
if #available(iOS 16, *) {
|
if #available(iOS 16, *) {
|
||||||
NavigationStack {
|
NavigationStack {
|
||||||
content
|
content
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
*/
|
||||||
NavigationView {
|
NavigationView {
|
||||||
content
|
content
|
||||||
}
|
}
|
||||||
.navigationViewStyle(.stack)
|
.navigationViewStyle(.stack)
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue