Fix pickers on iOS 16

This commit is contained in:
Arkadiusz Fal
2022-08-06 16:28:05 +02:00
parent 0797030a97
commit d7735cf59d
5 changed files with 33 additions and 61 deletions

View File

@@ -81,13 +81,7 @@ struct BrowsingSettings: View {
Text(quality.rawValue.capitalized + " quality").tag(quality)
}
}
.labelsHidden()
#if os(iOS)
.pickerStyle(.automatic)
#elseif os(tvOS)
.pickerStyle(.inline)
#endif
.modifier(SettingsPickerModifier())
}
private var visibleSectionsSettings: some View {