From a56ac40c49d6df4160392c583c3ae670824c47b8 Mon Sep 17 00:00:00 2001 From: Bernhard Date: Sun, 23 Jun 2024 13:38:02 +0200 Subject: [PATCH] feat: hidable widgets by swipe --- apps/measuretime/measuretime.app.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/measuretime/measuretime.app.js b/apps/measuretime/measuretime.app.js index b02e6d8e3..2a45dc779 100644 --- a/apps/measuretime/measuretime.app.js +++ b/apps/measuretime/measuretime.app.js @@ -83,11 +83,6 @@ var yBottomLines = centerY - offset + 5; var bottomReached = false; - if (g.theme.dark) { - g.setColor(1, 1, 1); - } else { - g.setColor(0, 0, 0); - } drawCenterLine(); var lineEnd = lineEndDefault; @@ -164,7 +159,6 @@ } } while (!bottomReached); - Bangle.drawWidgets(); queueDrawTime(); }; @@ -183,5 +177,5 @@ ); Bangle.loadWidgets(); - Bangle.drawWidgets(); + require("widget_utils").swipeOn(); }