Skip to content

fix(ui): Fix QR code share sheet showing no options#115

Merged
philprime merged 2 commits intomainfrom
fix/qrcode-share-sheet
Apr 16, 2026
Merged

fix(ui): Fix QR code share sheet showing no options#115
philprime merged 2 commits intomainfrom
fix/qrcode-share-sheet

Conversation

@philprime
Copy link
Copy Markdown
Member

@philprime philprime commented Apr 16, 2026

Summary

  • The QR code share sheet on iOS 26 was empty because the ImageBox wrapper struct was passed to UIActivityViewController instead of the UIImage inside it
  • Introduced a type-safe ActivityViewController.Item enum so the compiler prevents passing incorrect types to the share sheet

Test plan

  • Open a link detail view
  • Tap the QR code to trigger the share sheet
  • Verify share options (AirDrop, Save Image, etc.) appear correctly
  • Long-press the QR code and use "Share as Image" from the context menu
  • Long-press and use "Save to Photos" from the context menu

Fixes #29

The QR code share sheet was empty because the ImageBox wrapper struct
was passed to UIActivityViewController instead of the UIImage inside
it. Introduce a type-safe Item enum on ActivityViewController to
prevent this class of bug at compile time.

Fixes #29
@philprime philprime enabled auto-merge (squash) April 16, 2026 12:20
@sentry
Copy link
Copy Markdown

sentry Bot commented Apr 16, 2026

📲 Install Builds

iOS

🔗 App Name App ID Version Configuration
Flinky com.techprimate.Flinky 1.1.3 (51) --

⚙️ flinky Build Distribution Settings

@philprime philprime merged commit 8c7867c into main Apr 16, 2026
10 of 11 checks passed
@philprime philprime deleted the fix/qrcode-share-sheet branch April 16, 2026 15:18
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.

Fix saving of QRCode

1 participant