Skip to content

fix(btc-only): hide 'Add EVM chain' on bitcoin-only firmware#349

Merged
BitHighlander merged 1 commit into
developfrom
fix/btc-only-hide-add-evm
Jul 12, 2026
Merged

fix(btc-only): hide 'Add EVM chain' on bitcoin-only firmware#349
BitHighlander merged 1 commit into
developfrom
fix/btc-only-hide-add-evm

Conversation

@BitHighlander

Copy link
Copy Markdown
Collaborator

Follow-up to #347/#348 (live btc-only device testing).

The chain list restricts to Bitcoin on btc-only firmware, but + Add EVM chain was only gated by !watchOnly — a BTConly device could open the 177-chain EVM picker (see screenshot). Gate the button with !btcOnly (the sole setShowAddChain trigger), so the AddChainDialog can't open.

Swap/ShapeShift intentionally stay — btc-only can still swap BTC via THORChain.

The dashboard chain list already restricts to Bitcoin on btc-only firmware
(#347), but the '+ Add EVM chain' button + AddChainDialog were only gated by
!watchOnly — so a BTConly device could still open the 177-chain EVM picker and
add a network it physically can't touch. Gate the button with !btcOnly (its
sole setShowAddChain trigger), so the dialog can't open.
@BitHighlander

Copy link
Copy Markdown
Collaborator Author

Backed out of develop and consolidated into a single reviewable PR: #353 (branch btc-only). The change itself is unchanged — this was a history cleanup so btc-only ships as one PR. Nothing to do here.

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