Skip to content

Commit

Permalink
0.19: Remove 'jit' keyword as 'for(..of..)' is not supported (fix #2937)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Aug 3, 2023
1 parent 4061bd2 commit cd3b08e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions apps/iconlaunch/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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)
13 changes: 6 additions & 7 deletions apps/iconlaunch/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@

let texted;
let drawItem = function(itemI, r) {
"jit";
let x = whitespace;
let i = itemI * appsN - 1;
let selectedApp;
Expand Down Expand Up @@ -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);
Expand All @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion apps/iconlaunch/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cd3b08e

Please sign in to comment.