mirror of
https://github.com/yattee/yattee.git
synced 2026-05-13 19:05:03 +00:00
Fix tvOS view options sheet rendering in History and other views
This commit is contained in:
@@ -41,6 +41,7 @@ struct ViewOptionsSheet: View {
|
|||||||
|
|
||||||
#if os(tvOS)
|
#if os(tvOS)
|
||||||
private var tvOSContent: some View {
|
private var tvOSContent: some View {
|
||||||
|
NavigationStack {
|
||||||
List {
|
List {
|
||||||
Section {
|
Section {
|
||||||
Picker(selection: $layout) {
|
Picker(selection: $layout) {
|
||||||
@@ -86,6 +87,9 @@ struct ViewOptionsSheet: View {
|
|||||||
.padding(.horizontal, 40)
|
.padding(.horizontal, 40)
|
||||||
.padding(.vertical, 24)
|
.padding(.vertical, 24)
|
||||||
}
|
}
|
||||||
|
.presentationDetents([.height(360), .large])
|
||||||
|
.presentationDragIndicator(.visible)
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private var formContent: some View {
|
private var formContent: some View {
|
||||||
|
|||||||
Reference in New Issue
Block a user