We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0db209c commit 742d518Copy full SHA for 742d518
apps/taglaunch/app.js
@@ -89,8 +89,8 @@ let noShortcuts=shortcuts[0]==""&&shortcuts[1]==""&&shortcuts[2]=="";
89
90
let loadShortcut=function(idx){
91
if(shortcuts[idx]!=""){
92
- if(settings.buzz)Bangle.buzz(25);
93
- setTimeout(function(){load(shortcuts[idx]+".app.js")},27); //let buzz have effect
+ const p = settings.buzz ? Bangle.buzz(25) : Promise.resolve();
+ p.then(() => load(shortcuts[idx]+".app.js"));
94
}
95
};
96
// 10s of inactivity goes back to clock
0 commit comments