Fix incorrect placeholder status after loading box art causing app label to be absent

This commit is contained in:
Cameron Gutman 2019-04-18 20:58:40 -07:00
parent 10f6b73cad
commit ac36fef968

View file

@ -61,9 +61,9 @@ CenteredGridView {
source: model.boxart
onSourceSizeChanged: {
if ((width == 130 && height == 180) || // GFE 2.0 placeholder image
(width == 628 && height == 888) || // GFE 3.0 placeholder image
(width == 200 && height == 266)) // Our no_app_image.png
if ((sourceSize.width == 130 && sourceSize.height == 180) || // GFE 2.0 placeholder image
(sourceSize.width == 628 && sourceSize.height == 888) || // GFE 3.0 placeholder image
(sourceSize.width == 200 && sourceSize.height == 266)) // Our no_app_image.png
{
isPlaceholder = true
}