Skip to content

fix(ios): match the Ring QR sheet to Android and fill its background - #342

Merged
jvsena42 merged 2 commits into
mainfrom
fix/ios-ring-scan-sheet
Sep 24, 2026
Merged

jvsena42 merged 2 commits into
mainfrom
fix/ios-ring-scan-sheet

Conversation

@jvsena42

Copy link
Copy Markdown
Owner
  • The sheet's colour was a .background on its content, so the .large detent showed system material below it. It now uses .presentationBackground(surfaceCard).
  • The detent is sized to the measured content instead of .large. It clamps to full height on short phones, where the ScrollView scrolls.
  • Layout follows RingScanHandoff.kt: card surface, 20pt heavy title, secondary body, 220pt QR, waiting line without a spinner, text-style Copy link, "Get the app" only when Ring isn't installed, and no Cancel button (drag-dismiss already calls onCancelSignIn).
  • The iPad inline panel shares the same content and is now a rounded card, like Android's tablet panel.

Verified on iPhone 17e (light and dark) and iPad Pro 11-inch (M5) portrait. Not verified: the iPad inline panel in landscape.

🤖 Generated with Claude Code

jvsena42 and others added 2 commits September 24, 2026 18:19
The sheet painted its colour with .background on the content, so the rest of
the .large detent showed system material. Use .presentationBackground and size
the detent to the content. Layout now follows RingScanHandoff.kt: card surface,
220pt code, no spinner, text Copy link, Get the app only without Ring, and no
Cancel since dragging the sheet already cancels.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@jvsena42
jvsena42 merged commit 1bac334 into main Sep 24, 2026
8 checks passed
@jvsena42
jvsena42 deleted the fix/ios-ring-scan-sheet branch September 24, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant