qml: don't show placeholder in History when empty history list and synchronizing
This commit is contained in:
@@ -82,12 +82,12 @@ Pane {
|
|||||||
ScrollIndicator.vertical: ScrollIndicator { }
|
ScrollIndicator.vertical: ScrollIndicator { }
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
visible: Daemon.currentWallet.historyModel.count == 0
|
visible: Daemon.currentWallet.historyModel.count == 0 && !Daemon.currentWallet.synchronizing
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
width: listview.width * 4/5
|
width: listview.width * 4/5
|
||||||
font.pixelSize: constants.fontSizeXXLarge
|
font.pixelSize: constants.fontSizeXXLarge
|
||||||
color: constants.mutedForeground
|
color: constants.mutedForeground
|
||||||
text: qsTr('No transactions yet in this wallet')
|
text: qsTr('No transactions in this wallet yet')
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user