Hide download count in manage page

CURA-8726
This commit is contained in:
Jaime van Kessel 2022-02-22 15:18:49 +01:00
parent adfb78e38a
commit 0b39fb1c91
2 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@ import Cura 1.6 as Cura
// are combined into the reusable "PackageCardHeader" component // are combined into the reusable "PackageCardHeader" component
Item Item
{ {
default property alias contents: contentItem.children; default property alias contents: contentItem.children
property var packageData property var packageData
property bool showManageButtons: false property bool showManageButtons: false

View file

@ -40,7 +40,7 @@ Rectangle
id: downloadCount id: downloadCount
Layout.preferredWidth: parent.width Layout.preferredWidth: parent.width
Layout.fillHeight: true Layout.fillHeight: true
visible: packageData.downloadCount != "0"
UM.RecolorImage UM.RecolorImage
{ {
id: downloadsIcon id: downloadsIcon
@ -53,6 +53,7 @@ Rectangle
Label Label
{ {
anchors.verticalCenter: downloadsIcon.verticalCenter anchors.verticalCenter: downloadsIcon.verticalCenter
color: UM.Theme.getColor("text") color: UM.Theme.getColor("text")