From e7886d9707a0aff83db466731494f7b9a6cdb8a7 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Thu, 16 Jul 2026 20:12:41 +0200 Subject: [PATCH] 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. --- Yattee/Views/Player/QualitySelectorView.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Yattee/Views/Player/QualitySelectorView.swift b/Yattee/Views/Player/QualitySelectorView.swift index 030ff009..eb65f1d1 100644 --- a/Yattee/Views/Player/QualitySelectorView.swift +++ b/Yattee/Views/Player/QualitySelectorView.swift @@ -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)