From 67b38394d3eb967aa8c97e3c601e5985965c8599 Mon Sep 17 00:00:00 2001 From: hl-valdemar Date: Sun, 18 Oct 2026 23:26:05 +0200 Subject: [PATCH] fix: fill the fixed start window through its safe area --- Sources/App/TerebiApp.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/App/TerebiApp.swift b/Sources/App/TerebiApp.swift index 3b87001..d4d4463 100644 --- a/Sources/App/TerebiApp.swift +++ b/Sources/App/TerebiApp.swift @@ -2769,10 +2769,6 @@ private struct PlayerContent: View { .accessibilityHidden(!model.showsQueue) } } - .frame(minWidth: startScreen ? 640 : (model.isCompact || model.compactWindow.isTransitioning ? 160 : 400 + model.queueWidth), - maxWidth: startScreen ? 640 : .infinity, - minHeight: startScreen ? model.startContentHeight : (model.isCompact || model.compactWindow.isTransitioning ? model.compactContentMinimumHeight : 240), - maxHeight: startScreen ? model.startContentHeight : .infinity) .overlay(alignment: .topTrailing) { if !model.isCompact && !model.compactWindow.isTransitioning { titleControls @@ -2787,6 +2783,10 @@ private struct PlayerContent: View { } } .ignoresSafeArea() + .frame(minWidth: startScreen ? 640 : (model.isCompact || model.compactWindow.isTransitioning ? 160 : 400 + model.queueWidth), + maxWidth: startScreen ? 640 : .infinity, + minHeight: startScreen ? model.startContentHeight : (model.isCompact || model.compactWindow.isTransitioning ? model.compactContentMinimumHeight : 240), + maxHeight: startScreen ? model.startContentHeight : .infinity) .preferredColorScheme(.dark) .foregroundStyle(Color(SunsetPalette.text)) .tint(Color(SunsetPalette.accent))