ZeusLN / zeus

A mobile Bitcoin wallet fit for the gods. ⚡️ Est. 563345
https://ZeusLN.com
Other
1.03k stars 146 forks source link

Payment workflow does not retain currency unit state #2443

Closed luisschwab closed 1 day ago

luisschwab commented 1 month ago

When making a payment, the workflow does not retain state about the selected currency unit.

For example: On the main screen, I select to pay 10 USD. In the confirm payment screen, I am promped to make a payment of 10 sats.

It should retain the selected unit.

Main screen (USD): photo_5170640819496005786_y

Confirm payment screen (sats): photo_5170640819496005787_y

version: 0.9.0 OS: android

kaloudis commented 1 month ago

Which backend interface are you using?

luisschwab commented 1 month ago

LND (REST)

kaloudis commented 1 month ago

Appears to only affect LNURL flows

https://github.com/ZeusLN/zeus/blob/master/views/LnurlPay/LnurlPay.tsx#L75:L81

kaloudis commented 1 week ago

v0.9.2-beta1 is now available for testing with a fix for this. Hope you try it out!

kaloudis commented 1 day ago

@luisschwab this should be addressed in v0.9.2 which is out now. Please reopen the issue if you continue to experience this. Thank you!

luisschwab commented 1 day ago

Works great now, thanks for working on this!