fix(Wallet): use correct theme colors for wallet icons in receive modal

This commit is contained in:
Pascal Precht 2021-04-13 17:06:15 +02:00 committed by Pascal Precht
parent f2524db882
commit 153d37a7dc
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ Item {
return return
} }
if (selectedAccount.iconColor) { if (selectedAccount.iconColor) {
selectedIconImgOverlay.color = selectedAccount.iconColor selectedIconImgOverlay.color = Utils.getCurrentThemeAccountColor(selectedAccount.iconColor) || Style.current.accountColors[0]
} }
if (selectedAccount.name) { if (selectedAccount.name) {
selectedTextField.text = selectedAccount.name selectedTextField.text = selectedAccount.name
@ -182,7 +182,7 @@ Item {
ColorOverlay { ColorOverlay {
anchors.fill: iconImg anchors.fill: iconImg
source: iconImg source: iconImg
color: iconColor color: Utils.getCurrentThemeAccountColor(iconColor) || Style.current.accountColors[0]
} }
Column { Column {
id: column id: column