mirror of https://github.com/espruino/BangleApps
Update widget.js
parent
464643db38
commit
cd1294af40
|
@ -16,7 +16,7 @@ WIDGETS.bluetooth = {
|
||||||
WIDGETS.bluetooth.draw();
|
WIDGETS.bluetooth.draw();
|
||||||
},
|
},
|
||||||
disconnect: function() {
|
disconnect: function() {
|
||||||
if(warningEnabled == 1){
|
if(WIDGETS.bluetooth.warningEnabled == 1){
|
||||||
Bangle.buzz(700, 1); // buzz on connection loss
|
Bangle.buzz(700, 1); // buzz on connection loss
|
||||||
E.showMessage("Connection\nlost.","Bluetooth");
|
E.showMessage("Connection\nlost.","Bluetooth");
|
||||||
WIDGETS.bluetooth.warningEnabled = 0;
|
WIDGETS.bluetooth.warningEnabled = 0;
|
||||||
|
|
Loading…
Reference in New Issue