diff --git a/apps/iconlaunch/ChangeLog b/apps/iconlaunch/ChangeLog index f9d143fca..504f747bd 100644 --- a/apps/iconlaunch/ChangeLog +++ b/apps/iconlaunch/ChangeLog @@ -23,3 +23,4 @@ 0.16: Use firmware provided E.showScroller method 0.17: fix fullscreen with oneClickExit 0.18: Better performance +0.19: Remove 'jit' keyword as 'for(..of..)' is not supported (fix #2937) \ No newline at end of file diff --git a/apps/iconlaunch/app.js b/apps/iconlaunch/app.js index 03e743885..f7d5b7bf1 100644 --- a/apps/iconlaunch/app.js +++ b/apps/iconlaunch/app.js @@ -56,7 +56,6 @@ let texted; let drawItem = function(itemI, r) { - "jit"; let x = whitespace; let i = itemI * appsN - 1; let selectedApp; @@ -145,21 +144,21 @@ }, btn:Bangle.showClock }; - + //work both the fullscreen and the oneClickExit if( settings.fullscreen && settings.oneClickExit) { - idWatch=setWatch(function(e) { + idWatch=setWatch(function(e) { Bangle.showClock(); }, BTN, {repeat:false, edge:'rising' }); - + } - else if( settings.oneClickExit ) + else if( settings.oneClickExit ) { options.back=Bangle.showClock; } - + let scroller = E.showScroller(options); @@ -174,7 +173,7 @@ }; let swipeHandler = (h,_) => { if(settings.swipeExit && h==1) { Bangle.showClock(); } }; - + Bangle.on("swipe", swipeHandler) Bangle.on("drag", updateTimeout); Bangle.on("touch", updateTimeout); diff --git a/apps/iconlaunch/metadata.json b/apps/iconlaunch/metadata.json index e17830ca6..acf46a431 100644 --- a/apps/iconlaunch/metadata.json +++ b/apps/iconlaunch/metadata.json @@ -2,7 +2,7 @@ "id": "iconlaunch", "name": "Icon Launcher", "shortName" : "Icon launcher", - "version": "0.18", + "version": "0.19", "icon": "app.png", "description": "A launcher inspired by smartphones, with an icon-only scrollable menu.", "tags": "tool,system,launcher",