Added a g.reset()
parent
5f2c649987
commit
386b63df2d
|
|
@ -13,3 +13,4 @@
|
||||||
0.14: Added configuration option
|
0.14: Added configuration option
|
||||||
0.15: Added option to hide widget when connected
|
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",
|
"id": "widbt_notify",
|
||||||
"name": "Bluetooth Widget with Notification",
|
"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.",
|
"description": "Show the current Bluetooth connection status with some optional features: show message, buzz on connect/loss, hide always/if connected.",
|
||||||
"icon": "widget.png",
|
"icon": "widget.png",
|
||||||
"type": "widget",
|
"type": "widget",
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
redrawCurrentApp: function() {
|
redrawCurrentApp: function() {
|
||||||
if (typeof(draw) == 'function') {
|
if (typeof(draw) == 'function') {
|
||||||
g.clear();
|
g.reset().clear();
|
||||||
draw();
|
draw();
|
||||||
Bangle.loadWidgets();
|
Bangle.loadWidgets();
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue