diff --git a/electrum/gui/qml/components/controls/HistoryItemDelegate.qml b/electrum/gui/qml/components/controls/HistoryItemDelegate.qml index 512c24bec..952bee4ba 100644 --- a/electrum/gui/qml/components/controls/HistoryItemDelegate.qml +++ b/electrum/gui/qml/components/controls/HistoryItemDelegate.qml @@ -84,7 +84,7 @@ Item { font.pixelSize: constants.fontSizeMedium Layout.alignment: Qt.AlignRight font.bold: true - color: model.incoming ? constants.colorCredit : constants.colorDebit + color: model.value.satsInt >= 0 ? constants.colorCredit : constants.colorDebit function updateText() { text = Config.formatSats(model.value)