mirror of
https://github.com/yattee/yattee.git
synced 2026-05-13 02:45: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)
|
||||
private var tvOSContent: some View {
|
||||
NavigationStack {
|
||||
List {
|
||||
Section {
|
||||
Picker(selection: $layout) {
|
||||
@@ -86,6 +87,9 @@ struct ViewOptionsSheet: View {
|
||||
.padding(.horizontal, 40)
|
||||
.padding(.vertical, 24)
|
||||
}
|
||||
.presentationDetents([.height(360), .large])
|
||||
.presentationDragIndicator(.visible)
|
||||
}
|
||||
#endif
|
||||
|
||||
private var formContent: some View {
|
||||
|
||||
Reference in New Issue
Block a user