From 663ea983e4a1baf5d11c90e1b38bdd1db50300f9 Mon Sep 17 00:00:00 2001 From: thyttan <97237430+thyttan@users.noreply.github.com> Date: Sat, 8 Apr 2023 23:56:21 +0200 Subject: [PATCH] Change to 'custom' setUI to not set btn watch > ['clock' - called for clocks. Sets Bangle.CLOCK=1 and allows a button to start the launcher](https://www.espruino.com/Reference#l_Bangle_setUI) --- apps/drained/app.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/drained/app.ts b/apps/drained/app.ts index 160bed8a8..291ff4200 100644 --- a/apps/drained/app.ts +++ b/apps/drained/app.ts @@ -65,12 +65,13 @@ const draw = () => { }; Bangle.setUI({ - mode: "clock", + mode: "custom", remove: () => { if (nextDraw) clearTimeout(nextDraw); nextDraw = undefined; }, }); +Bangle.CLOCK=1; g.clear(); draw();