|
@ -84,7 +84,7 @@ Item { |
|
|
font.pixelSize: constants.fontSizeMedium |
|
|
font.pixelSize: constants.fontSizeMedium |
|
|
Layout.alignment: Qt.AlignRight |
|
|
Layout.alignment: Qt.AlignRight |
|
|
font.bold: true |
|
|
font.bold: true |
|
|
color: model.incoming ? constants.colorCredit : constants.colorDebit |
|
|
color: model.value.satsInt >= 0 ? constants.colorCredit : constants.colorDebit |
|
|
|
|
|
|
|
|
function updateText() { |
|
|
function updateText() { |
|
|
text = Config.formatSats(model.value) |
|
|
text = Config.formatSats(model.value) |
|
|