Skip to content

fix(chat): show the external link warning as an info dialog - #1673

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/external-link-dialog
Oct 5, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
fix/external-link-dialog

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

The warning before a non-Flipcash link from chat opens is now an info dialog instead of a red alert.

  • Title: "You're Leaving Flipcash"
  • Body: "This will open %1$s. Never share your Access Key with a website"
  • Buttons: Open Website as the primary, Cancel as the secondary. showInfo with showCancel = true, the same pattern as the other info prompts in the app. action_openLink is renamed to action_openWebsite.

The dialog fires on every external link tap, and the app has no idea whether a given link is malicious. A red alert every time would teach people to tap past it, so the Access Key reminder is shown as information.

iOS counterpart: code-payments/code-ios-app#954

Retitle it "You're Leaving Flipcash" and change the body to "This will
open <host>. Never share your Access Key with a website". The dialog moves
from the red alert style to info, with Open Website as the primary button
and Cancel as the secondary.
@bmc08gt bmc08gt self-assigned this Oct 5, 2026
@github-actions github-actions Bot added the type: fix Bug fix label Oct 5, 2026
@bmc08gt
bmc08gt merged commit cc738dd into code/cash Oct 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant