1
0
Fork 0

Update widget.js

master
KungPhoo 2022-03-30 07:17:52 +02:00
parent 8df137b21d
commit 9c86c48398
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ WIDGETS.bluetooth_notify = {
Bangle.buzz(700, 1); // buzz on connection loss
E.showMessage(/*LANG*/'Connection\nlost.', 'Bluetooth');
setInterval(()=>{load();}, 3000); // clear message
// setInterval(()=>{load();}, 3000); // clear message - this will reload the widget, resetting 'warningEnabled'.
WIDGETS.bluetooth_notify.warningEnabled = 0;
setTimeout('WIDGETS.bluetooth_notify.warningEnabled = 1;', 30000); // re-notify only after 30 seconds.