Compare commits

..
Author SHA1 Message Date
root 4dfcfbf434 iOS source.json for ios-v0.10.1 2026-11-20 10:17:11 -08:00
rootandClaude Opus 5.5 56c92e8b93 iOS: free orientation in background, re-lock after resume settles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:14:59 -08:00
root 639b5368ff iOS source.json for ios-v0.10.1 2026-11-20 10:10:17 -08:00
rootandClaude Opus 5.5 cfaedd06cf iOS 0.10.1 (build 47)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:08:08 -08:00
rootandClaude Opus 5.5 8f3a10df2f iOS: more room between art and title on the folded screen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:00:51 -08:00
5 changed files with 28 additions and 6 deletions

No files matched your search

+11 -1
View File
@@ -139,7 +139,17 @@ final class Ui {
/// Split (unfolded) goes landscape at once. Portrait waits a moment and checks again, so a
/// frame without a hinge reading mid-rotation can't throw an unfolded phone back upright.
/// Back in the foreground: the phone may have been folded or unfolded meanwhile.
func resumed() { lockOrientation() }
/// The split/unfolded flags are from before the app left, so locking on them at once can force
/// landscape on a phone folded meanwhile. Free the rotation while away and decide again once
/// the window has settled to the screen it came back on.
func resumed() {
Task { @MainActor in
try? await Task.sleep(for: .milliseconds(300))
self.lockOrientation()
}
}
func backgrounded() { Orientation.lock(.allButUpsideDown) }
private func lockOrientation() {
if split || unfolded { Orientation.lock(.landscape); return }
+3 -1
View File
@@ -19,7 +19,9 @@ struct RootView: View {
.onGeometryChange(for: CGFloat.self) { $0.safeAreaInsets.trailing } action: { ui.sawInsets(trailing: $0, upright: vSize == .regular) }
.background(p.bg.ignoresSafeArea())
.onChange(of: ui.tabs) { _, _ in ui.ensureValidTab() }
.onChange(of: phase) { _, ph in if ph == .active { ui.resumed() } }
.onChange(of: phase) { _, ph in
if ph == .active { ui.resumed() } else if ph == .background { ui.backgrounded() }
}
.fullScreenCover(isPresented: Binding(get: { ui.nowPlayingOpen }, set: { ui.nowPlayingOpen = $0 })) {
NowPlayingScreen()
.overlayHost(ui.overlays, level: 1)
@@ -190,7 +190,7 @@ struct NowPlayingScreen: View {
Spacer(minLength: 8)
EllipsisButton(items: ui.menu.track(track))
}
.padding(.top, tight || snug ? 8 : 14)
.padding(.top, snug && !docked ? 20 : tight ? 8 : 14)
.transition(.opacity.combined(with: .move(edge: .top)))
}
ProgressVolumeBar(played: g.settings.albumTheme ? c.accent : c.label, unplayed: c.label3, centerLabel: badge(track))
+3 -3
View File
@@ -7,9 +7,9 @@ settings:
base:
SWIFT_VERSION: "5.0"
# iOS needs a plain number for the bundle version; the label is what the app and releases show.
MARKETING_VERSION: "0.10.0"
VERSION_LABEL: "0.10.0"
CURRENT_PROJECT_VERSION: "46"
MARKETING_VERSION: "0.10.1"
VERSION_LABEL: "0.10.1"
CURRENT_PROJECT_VERSION: "47"
# Dev builds override these (build-ipa.sh dev) so they install next to the release app.
APP_ID: org.cdnutter.stemify
APP_NAME: Stemify
+10
View File
@@ -15,6 +15,16 @@
"tintColor": "#FA2D48",
"category": "entertainment",
"versions": [
{
"version": "0.10.1",
"marketingVersion": "0.10.1",
"buildVersion": "47",
"date": "2026-11-20T10:17:10-08:00",
"localizedDescription": "iOS: free orientation in background, re-lock after resume settles",
"downloadURL": "https://git.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.10.1/stemify-0.10.1.ipa",
"size": 3136176,
"minOSVersion": "17.0"
},
{
"version": "0.10.0",
"marketingVersion": "0.10.0",