mirror of https://github.com/espruino/BangleApps
Added a g.reset()
parent
5f2c649987
commit
386b63df2d
|
@ -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
|
|
@ -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",
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
redrawCurrentApp: function() {
|
||||
if (typeof(draw) == 'function') {
|
||||
g.clear();
|
||||
g.reset().clear();
|
||||
draw();
|
||||
Bangle.loadWidgets();
|
||||
Bangle.drawWidgets();
|
||||
|
|
Loading…
Reference in New Issue