Merge pull request #5 from prefectAtEarth/feat/hidable_widgets

feat: hidable widgets by swipe
pull/3470/head
Bernhard Salomon 2024-06-23 13:38:44 +02:00 committed by GitHub
commit f176fab781
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 7 deletions

View File

@ -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();
}