Compare commits

...
Author SHA1 Message Date
rootandClaude Opus 5.5 8c8157c489 Folded Now Playing: use the bottom space, bigger art (dev 39)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:14:49 -08:00
2 changed files with 5 additions and 4 deletions

No files matched your search

@@ -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) {
+1 -1
View File
@@ -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