Raise player settings sheet detent so audio mode toggle is visible

Rest the quality/settings sheet at a 0.6 fraction instead of .medium on
iOS so the general section (playback speed / audio mode / lock) at the
bottom of the scroll view is reachable without dragging up to .large.
This commit is contained in:
Arkadiusz Fal
2026-07-16 20:12:41 +02:00
parent c7ad4fad2e
commit e7886d9707

View File

@@ -237,7 +237,10 @@ struct QualitySelectorView: View {
stackRoot
}
#if os(iOS)
.presentationDetents([.medium, .large])
// Rest at a taller-than-medium detent so the general section (playback
// speed / audio mode / lock) at the bottom of the scroll view is
// visible without dragging the sheet up to `.large`.
.presentationDetents([.fraction(0.6), .large])
#endif
#if os(macOS)
.frame(minWidth: 450, minHeight: 500)