Update widget.js

pull/1633/head
KungPhoo 2022-03-28 21:53:55 +02:00 committed by GitHub
parent 464643db38
commit cd1294af40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ WIDGETS.bluetooth = {
WIDGETS.bluetooth.draw();
},
disconnect: function() {
if(warningEnabled == 1){
if(WIDGETS.bluetooth.warningEnabled == 1){
Bangle.buzz(700, 1); // buzz on connection loss
E.showMessage("Connection\nlost.","Bluetooth");
WIDGETS.bluetooth.warningEnabled = 0;