1
0

qml: add 'local' and 'mempool' sections to history, update section on on_tx_verified callback

This commit is contained in:
Sander van Grieken
2022-11-22 00:34:31 +01:00
parent fbc5be54a9
commit cccd5ff19b
3 changed files with 29 additions and 26 deletions

View File

@@ -64,7 +64,7 @@ Item {
Layout.rowSpan: 2
source: model.lightning
? "../../../icons/lightning.png"
: model.complete
: model.complete && model.section != 'local'
? tx_icons[Math.min(6,model.confirmations)]
: '../../../icons/offline_tx.png'
}
@@ -93,7 +93,7 @@ Item {
}
Label {
font.pixelSize: constants.fontSizeSmall
text: model.date
text: model.date ? model.date : ''
color: constants.mutedForeground
}
Label {