Skip to content

Conversation

@vvava
Copy link
Contributor

@vvava vvava commented Dec 2, 2025

Description

CP-12572

Changes

  • remove Swap and Buy from testnet mode
  • Buy also removed in the legacy app

Testing

Settings -> Testnet mode on -> check the fucntions are not available in the Wallet and Account view

Screenshots:

image

Checklist for the author

Tick each of them when done or if not applicable.

  • I've covered new/modified business logic with Jest test cases.
  • I've tested the changes myself before sending it to code review and QA.

/>
</Slide>
)}
<Slide direction="left" in timeout={1200} easing="ease-out">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#nit
If buy and swap are disabled, the delay of Bridge animation is quite huge.

It can be solved by this:

let delay = 0
const getDelay = () => delay += 300;

 <Slide direction="left" in timeout={getDelay()} easing="ease-out" />
 <Slide direction="left" in timeout={getDelay()} easing="ease-out" />
 <Slide direction="left" in timeout={getDelay()} easing="ease-out" />
 <Slide direction="left" in timeout={getDelay()} easing="ease-out" />

@vvava vvava merged commit 8834920 into main Dec 4, 2025
5 checks passed
@vvava vvava deleted the feat/CP-12572_disable-swap-and-buy branch December 4, 2025 11:50
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.

4 participants