Skip to content

Commit e2cd6c8

Browse files
committed
[GUI] dark theme invalid icons name fix.
1 parent aaf98e5 commit e2cd6c8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/qt/pivx/txrow.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,18 @@ void TxRow::setType(bool isLightTheme, int type, bool isConfirmed){
8181
path = ":/icons/tx_inout";
8282
break;
8383
}
84+
85+
if (!isLightTheme){
86+
path += "-dark";
87+
}
88+
8489
if (!isConfirmed){
8590
css = "text-list-amount-unconfirmed";
8691
path += "-inactive";
8792
setConfirmStatus(false);
8893
}else{
8994
setConfirmStatus(true);
9095
}
91-
92-
if (!isLightTheme){
93-
path += "-dark";
94-
}
9596
ui->lblAmount->setProperty("cssClass", css);
9697
ui->icon->setIcon(QIcon(path));
9798
}

0 commit comments

Comments
 (0)