Skip to content

Commit

Permalink
highlight selected fiat, refresh recommended on selection
Browse files Browse the repository at this point in the history
  • Loading branch information
smk762 committed Sep 9, 2023
1 parent b90850b commit a5eeb03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion atomic_defi_design/Dex/Settings/Combo_fiat.qml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ Item
const new_fiat = fiats[currentIndex]
API.app.settings_pg.current_fiat = new_fiat
API.app.settings_pg.current_currency = new_fiat
setting_modal.recommended_fiats = API.app.settings_pg.get_recommended_fiats()
}
}

Expand Down Expand Up @@ -123,7 +124,7 @@ Item
{
text: modelData
color: DexTheme.foregroundColor
opacity: fiats_mouse_area.containsMouse ? .7 : 1
opacity: text == API.app.settings_pg.current_fiat ? 1 : fiats_mouse_area.containsMouse ? .8 : .6

DexMouseArea
{
Expand Down

0 comments on commit a5eeb03

Please sign in to comment.