iOS: folded Now Playing runs into the bottom strip, orientation lock re-asserts on resume

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-11-20 09:50:23 -08:00
1 parent e833af2704
commit 566c5f7e8f
5 files changed
+25 -7

No files matched your search

+3
View File
@@ -136,6 +136,9 @@ 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() }
private func lockOrientation() {
if split { Orientation.lock(.landscape); return }
guard folded else { Orientation.lock(.allButUpsideDown); return }