We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef3bf7b commit cf7a7bbCopy full SHA for cf7a7bb
apps/qcenter/app.js
@@ -111,7 +111,7 @@ let layout = new Layout({
111
remove: ()=>{
112
Bangle.removeListener("swipe", onSwipe);
113
Bangle.removeListener("touch", updateTimeout);
114
- if (timeout) clearTimeout(timeout);
+ if (timeout) { clearTimeout(timeout); timeout = undefined; }
115
delete Graphics.prototype.setFont8x12;
116
}
117
});
@@ -121,8 +121,8 @@ Bangle.drawWidgets();
121
122
let timeout;
123
const updateTimeout = function(){
124
-if (settings.timeout){
125
+ if (settings.timeout){
126
timeout = setTimeout(Bangle.showClock,settings.timeout*1000);
127
128
};
0 commit comments