1
0
Fork 0

ctrlpad: remove Promise type hack

master
Rob Pilling 2024-04-25 18:29:23 +01:00
parent 513c07d6fd
commit 1b917b174e
1 changed files with 1 additions and 1 deletions

View File

@ -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;