Fixes for IVI-3190 - To get things to render normally
[profile/ivi/Modello_Homescreen.git] / js / installedApps.js
index 8fe3717..3509eef 100644 (file)
@@ -127,7 +127,7 @@ function insertAppFrame(appFrame) {
                var h = ctx.canvas.height = img.height;
 
                // Change icon only in case of Intel POC apps
-               if (appFrame.id.indexOf("Modello") >= 0) {
+               if (appFrame.appName.indexOf("Modello") >= 0) {
                        ctx.fillStyle = ThemeKeyColor;
                        ctx.fillRect(0, 0, w, h);
                        ctx.globalCompositeOperation = 'destination-in';