From 1b917b174ee41a8a87713c045be2bf5b95cdbf90 Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Thu, 25 Apr 2024 18:29:23 +0100 Subject: [PATCH] ctrlpad: remove Promise type hack --- apps/ctrlpad/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ctrlpad/main.ts b/apps/ctrlpad/main.ts index cd017a2b0..c647388e8 100644 --- a/apps/ctrlpad/main.ts +++ b/apps/ctrlpad/main.ts @@ -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;