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