Fix wrong navigation styles on iPadOS
This commit is contained in:
parent
d8b1c4d9c6
commit
f2b78d676f
|
@ -23,6 +23,7 @@ struct PreferencesView: View {
|
|||
.insetOrGroupedListStyle()
|
||||
.navigationBarItems(trailing: doneButton)
|
||||
}
|
||||
.navigationViewStyle(StackNavigationViewStyle())
|
||||
.onDisappear {
|
||||
Preferences.save()
|
||||
}
|
||||
|
|
|
@ -46,6 +46,7 @@ struct TableOfContentsView: View {
|
|||
close(nil)
|
||||
}))
|
||||
}
|
||||
.navigationViewStyle(StackNavigationViewStyle())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue