on xenial help sign in
Actually, no, we need this, the creator is putting 1 instead of true
380ffebAlbert Astals Cid
plugins/Dash/CardCreator.js+1−1
@@ -491,7 +491,7 @@ function cardString(template, components) {
491 if (fallback !== "") {
491 if (fallback !== "") {
492 fallbackCode += 'onStatusChanged: if (status === Image.Error) source = decodeURI("%1");'.arg(fallback);
492 fallbackCode += 'onStatusChanged: if (status === Image.Error) source = decodeURI("%1");'.arg(fallback);
493 }
493 }
494− code += kArtShapeHolderCode.arg(artAnchors).arg(widthCode).arg(heightCode).arg(aspectRatio).arg(!isConciergeMode).arg(fallbackCode);
494+ code += kArtShapeHolderCode.arg(artAnchors).arg(widthCode).arg(heightCode).arg(aspectRatio).arg(isConciergeMode ? "false" : "true").arg(fallbackCode);
495 } else {
495 } else {
496 code += 'readonly property size artShapeSize: Qt.size(-1, -1);\n'
496 code += 'readonly property size artShapeSize: Qt.size(-1, -1);\n'
497 }
497 }