Merge CloudBlueBG and CloudGreyBG into one icon without colour

We don't use the colour of icons. The colour is determined by the theme, and recoloured by UM.RecolorImage.

Contributes to issue CURA-8247.
This commit is contained in:
Ghostkeeper 2021-07-05 15:09:15 +02:00
parent a0589d57d6
commit fa4c69cb2b
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
3 changed files with 3 additions and 12 deletions

View file

@ -124,13 +124,9 @@ Cura.ExpandablePopup
{
return UM.Theme.getIcon("CheckBlueBG", "low")
}
else if (connectionStatus == "printer_cloud_connected")
else if (connectionStatus == "printer_cloud_connected" || connectionStatus == "printer_cloud_not_available")
{
return UM.Theme.getIcon("CloudBlueBG", "low")
}
else if (connectionStatus == "printer_cloud_not_available")
{
return UM.Theme.getIcon("CloudGreyBG", "low")
return UM.Theme.getIcon("CloudBadge", "low")
}
else
{