mirror of https://github.com/espruino/BangleApps
ctrlpad: remove Promise type hack
parent
513c07d6fd
commit
1b917b174e
|
@ -206,7 +206,7 @@
|
||||||
}else{
|
}else{
|
||||||
if(tap){
|
if(tap){
|
||||||
origBuzz = Bangle.buzz;
|
origBuzz = Bangle.buzz;
|
||||||
Bangle.buzz = () => (Promise as any).resolve(); // FIXME
|
Bangle.buzz = () => Promise.resolve();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if(!origBuzz) return;
|
if(!origBuzz) return;
|
||||||
Bangle.buzz = origBuzz;
|
Bangle.buzz = origBuzz;
|
||||||
|
|
Loading…
Reference in New Issue