Updated on 2026-08-14
This commit is contained in:
parent
68503f3a51
commit
55fcdc6e83
5 changed files with 29 additions and 17 deletions
|
|
@ -196,6 +196,8 @@ internal class AppSettingsViewModel(
|
|||
appCurrencyRepository
|
||||
.getSelectedAppCurrency()
|
||||
.onEach {
|
||||
if (it.code == store.state.globalState.appCurrency.code) return@onEach
|
||||
|
||||
val fiatCurrency = with(it) { FiatCurrency(code, name, symbol) }
|
||||
store.dispatchWithMain(DetailsAction.AppSettings.ChangeAppCurrency(fiatCurrency))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue