aeternity / dex-ui

Superhero DEX - the official UI for the first automated market maker (AMM) on æternity.
https://dex.superhero.com
ISC License
6 stars 4 forks source link

Approval of tokens does not work on mobile #437

Closed kenodressel closed 2 years ago

kenodressel commented 2 years ago

What happened?

The approval on mobile using deep links does approve just not enough to work on a single approval. Eg when I want to swap 1 token and I go through the approval I have to do it again unless i reduce my amount to 0.999, then it works.

How can we reproduce it?

  1. Open the dex on mobile
  2. select any action that involves sending a token (eg swap token to AE)
  3. approve the transaction in the wallet
  4. upon return the tx will be submitted but it will prompt you to approve it again
  5. if you do it twice, it works afterwards, alternatively you can simply reduce the amount by 0.0001 and it should work as well

mobile

Mobile

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Anything else you want us to know?

No response