This allows us to do cool stuff at one single place.
The first feature that this enables is that now ALL amount views are clickable and switch the currently active currency.
In the future this can be used to easily obfuscate any amount and simplify a proper implementation of msat values.
How Has This Been Tested?
On my S22
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
This PR unifies all amount views.
Motivation and Context
This allows us to do cool stuff at one single place. The first feature that this enables is that now ALL amount views are clickable and switch the currently active currency. In the future this can be used to easily obfuscate any amount and simplify a proper implementation of msat values.
How Has This Been Tested?
On my S22
Types of changes
Checklist: