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