From 8c8157c489d5eadf21f24418e8a780549381d4a5 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Nov 2026 17:14:49 -0800 Subject: [PATCH] Folded Now Playing: use the bottom space, bigger art (dev 39) Co-Authored-By: Claude Opus 5.5 --- ios/Stemify/UI/Screens/NowPlayingScreen.swift | 7 ++++--- ios/project.yml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ios/Stemify/UI/Screens/NowPlayingScreen.swift b/ios/Stemify/UI/Screens/NowPlayingScreen.swift index 0d41ba7..0d3ce79 100644 --- a/ios/Stemify/UI/Screens/NowPlayingScreen.swift +++ b/ios/Stemify/UI/Screens/NowPlayingScreen.swift @@ -118,7 +118,7 @@ struct NowPlayingScreen: View { @Environment(\.verticalSizeClass) private var vSize /// Folded iPhone Duo: the outer display keeps a status column down the right edge. @State private var folded = false - private var artInset: CGFloat { tight ? 18 : 28 } + private var artInset: CGFloat { tight ? 18 : folded ? 12 : 28 } private var hPad: CGFloat { tight ? 20 : 28 } private var g: AppGraph { .shared } @@ -167,11 +167,12 @@ struct NowPlayingScreen: View { // Folded, the iPhone Duo keeps a status column down the right edge. Run the player under it // (it only overlaps the sliding preset chips) instead of leaving a quarter of the screen empty. // Upright iPhones have no side insets, so this only changes the Duo. - .ignoresSafeArea(.container, edges: !docked && vSize == .regular ? .trailing : []) + // Folded, the bottom inset is empty space too: run the controls down into it, and the art grows into the room. + .ignoresSafeArea(.container, edges: !docked && vSize == .regular ? (folded ? [.trailing, .bottom] : .trailing) : []) // Measured outside the line above, so it still sees the status column. .onGeometryChange(for: Bool.self) { $0.safeAreaInsets.trailing > 20 } action: { folded = $0 && vSize == .regular } .padding(.top, docked ? 4 : tight ? 14 : 20) - .padding(.bottom, tight ? 4 : 8) + .padding(.bottom, tight ? 4 : folded ? 2 : 8) .frame(maxWidth: .infinity, maxHeight: .infinity) .background(c.bg.ignoresSafeArea()) .overlay(alignment: .top) { diff --git a/ios/project.yml b/ios/project.yml index 475d04b..4cbd45f 100644 --- a/ios/project.yml +++ b/ios/project.yml @@ -9,7 +9,7 @@ settings: # iOS needs a plain number for the bundle version; the label is what the app and releases show. MARKETING_VERSION: "0.9.0" VERSION_LABEL: "0.9.0" - CURRENT_PROJECT_VERSION: "38" + CURRENT_PROJECT_VERSION: "39" # Dev builds override these (build-ipa.sh dev) so they install next to the release app. APP_ID: org.cdnutter.stemify APP_NAME: Stemify