1
0

qml: don't show placeholder in History when empty history list and synchronizing

This commit is contained in:
Sander van Grieken
2023-03-09 16:17:39 +01:00
parent 62ab6d9702
commit c0e7fc6dec

View File

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