When the user opens Receive screen, the currency code is set, and changing it from the settings won't have an effect until relaunch.
Additionally, we need to filter out obsolete currencies and not save them in the database.
Issue being fixed or feature implemented
Selected currency code is moved from Configuration to the WalletUIConfig datastore.
A bunch of refactoring related to the above change - e.g. observing local currency instead of just fetching it.
Clean up obsolete currencies during the migration from shared prefs to datastore.
Move currency detection from the activity to the viewModel.
Replace the old Currency Picker in the settings with the new dialog version.
Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
[ ] QA (Mobile Team)
Checklist:
[x] I have performed a self-review of my own code and added comments where necessary
[ ] I have added or updated relevant unit/integration/functional/e2e tests
When the user opens Receive screen, the currency code is set, and changing it from the settings won't have an effect until relaunch. Additionally, we need to filter out obsolete currencies and not save them in the database.
Issue being fixed or feature implemented
Configuration
to theWalletUIConfig
datastore.Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
Checklist: