1
0

qml: add placeholder text for transaction history and channel list

This commit is contained in:
Sander van Grieken
2023-01-03 18:22:29 +01:00
parent e31bd958d3
commit 89aea77213
2 changed files with 21 additions and 0 deletions

View File

@@ -82,6 +82,16 @@ Pane {
ScrollIndicator.vertical: ScrollIndicator { }
Label {
visible: Daemon.currentWallet.historyModel.rowCount() == 0
anchors.centerIn: parent
width: listview.width * 4/5
font.pixelSize: constants.fontSizeXXLarge
color: constants.mutedForeground
text: qsTr('No transactions yet in this wallet')
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
}
}
MouseArea {