ZeusLN / zeus

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

N/A instead of amounts #2261

Open iWarpBTC opened 2 months ago

iWarpBTC commented 2 months ago

Describe the bug

In order to try out PoS mode I was forced to turn on currency tracking. Then I turn both PoS and Currency off. Now when Zeus starts I'm getting N/A instead of sats amounts. It helps to turn Currency on and off again but only until next restart.

Reproduce

I think it will be enough to turn Currency on and off. Then reboot.

ZEUS version

v0.8.4

Node interface

LND (REST)

Network

Clearnet

Device

iPhone 15 Pro

Device operating system

17.5.1

Log output

No response

kaloudis commented 2 months ago

I think we can easily fix this by changing the units to sats when currency is disabled.

kaloudis commented 2 months ago

I think we can easily fix this by changing the units to sats when currency is disabled.

hmm, we already do that here: https://github.com/ZeusLN/zeus/blob/master/views/Settings/Currency.tsx#L130

are you saying N/A appears for the prices on the POS items pane? Are the items priced in fiat?

iWarpBTC commented 2 months ago

N/A appears literally everywhere. image image