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

@ -57,7 +57,7 @@ ModalPopup {
}
Input {
id: txtWalletAddress
id: txtWalletAddress
//% "Wallet address"
label: qsTrId("wallet-address")
anchors.top: accountSelector.bottom

View File

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