iOS: folded Duo keeps portrait lock in background (no landscape flash on reopen while playing); build 53
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
452ed6f362
commit
7dddc25656
2 files changed
+8
-2
No files matched your search
@@ -150,7 +150,13 @@ final class Ui {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func backgrounded() { Orientation.lock(.allButUpsideDown) }
|
/// Folded stays locked upright: while audio plays the app lives on in the background and iOS
|
||||||
|
/// would turn the free window with the phone, so it came back sideways. Unfolding meanwhile is
|
||||||
|
/// still caught on return (upright unfolded marks the phone unfolded and turns it).
|
||||||
|
/// Unfolded frees rotation, so a phone folded meanwhile isn't held in landscape.
|
||||||
|
func backgrounded() {
|
||||||
|
if folded { Orientation.lock(.portrait) } else { Orientation.lock(.allButUpsideDown) }
|
||||||
|
}
|
||||||
|
|
||||||
private func lockOrientation() {
|
private func lockOrientation() {
|
||||||
if split || unfolded { Orientation.lock(.landscape); return }
|
if split || unfolded { Orientation.lock(.landscape); return }
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ settings:
|
|||||||
# iOS needs a plain number for the bundle version; the label is what the app and releases show.
|
# iOS needs a plain number for the bundle version; the label is what the app and releases show.
|
||||||
MARKETING_VERSION: "0.10.1"
|
MARKETING_VERSION: "0.10.1"
|
||||||
VERSION_LABEL: "0.10.1"
|
VERSION_LABEL: "0.10.1"
|
||||||
CURRENT_PROJECT_VERSION: "52"
|
CURRENT_PROJECT_VERSION: "53"
|
||||||
# Dev builds override these (build-ipa.sh dev) so they install next to the release app.
|
# Dev builds override these (build-ipa.sh dev) so they install next to the release app.
|
||||||
APP_ID: org.cdnutter.stemify
|
APP_ID: org.cdnutter.stemify
|
||||||
APP_NAME: Stemify
|
APP_NAME: Stemify
|
||||||
|
|||||||
Reference in new issue
Block a user