Added a g.reset()

pull/2280/head
pebl-hank 2022-11-15 20:06:51 +01:00
parent 5f2c649987
commit 386b63df2d
3 changed files with 4 additions and 3 deletions

View File

@ -12,4 +12,5 @@
0.13: Added "connection restored" notification. Fixed restoring of the watchface.
0.14: Added configuration option
0.15: Added option to hide widget when connected
0.16: Simplify code, add option to disable displaying a message
0.16: Simplify code, add option to disable displaying a message
0.17: Minor display fix

View File

@ -1,7 +1,7 @@
{
"id": "widbt_notify",
"name": "Bluetooth Widget with Notification",
"version": "0.16",
"version": "0.17",
"description": "Show the current Bluetooth connection status with some optional features: show message, buzz on connect/loss, hide always/if connected.",
"icon": "widget.png",
"type": "widget",

View File

@ -40,7 +40,7 @@
redrawCurrentApp: function() {
if (typeof(draw) == 'function') {
g.clear();
g.reset().clear();
draw();
Bangle.loadWidgets();
Bangle.drawWidgets();