mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-18 18:44:01 +00:00
Alex Jbanca
9f40f0fada
fix(Swap): Fixing the account balance in the swap modal
The root cause of this issue is the improper computation of the `accountBalance` expression role in the accounts model. Its value depends on another model (`filteredBalancesModel`) and by the time the expression role gets computed the proper `balance ` is not ready in the `filteredBalancesModel`. This is a quick fix, but maybe the real fix should be restructuring the adapter and the model dependencies. I'd look out for any `ModelUtils` usage and replace it with a declarative approach if possible.
…
…
…
…
…
Status Desktop
Status Desktop client built with Nim and Qt.
Our Website
Need Help?
Build Instructions
You have an idea for a cool feature or improvement?
Description
Languages
QML
38.2%
JavaScript
30.2%
Nim
18.8%
Python
5.7%
C++
5.3%
Other
1.7%