mirror of
https://github.com/Ferrite-iOS/Ferrite.git
synced 2026-01-11 20:10:27 +00:00
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
|
||||
|
||||
var body: some View {
|
||||
// Uncomment once NavigationStack issues are fixed
|
||||
/*
|
||||
if #available(iOS 16, *) {
|
||||
NavigationStack {
|
||||
content
|
||||
}
|
||||
} else {
|
||||
*/
|
||||
NavigationView {
|
||||
content
|
||||
}
|
||||
.navigationViewStyle(.stack)
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue