mirror of https://github.com/espruino/BangleApps
ctrlpad: restore buzz/turn off DnD after 10m
parent
84e6a508fc
commit
0f7b961b73
|
@ -296,6 +296,11 @@
|
|||
}else{
|
||||
origBuzz = Bangle.buzz;
|
||||
Bangle.buzz = () => (Promise as any).resolve(); // FIXME
|
||||
setTimeout(() => {
|
||||
if(!origBuzz) return;
|
||||
Bangle.buzz = origBuzz;
|
||||
origBuzz = undefined;
|
||||
}, 1000 * 60 * 10);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue