From 9c86c483980ff76427675fec0050c437a5779b90 Mon Sep 17 00:00:00 2001 From: KungPhoo Date: Wed, 30 Mar 2022 07:17:52 +0200 Subject: [PATCH] Update widget.js --- apps/widbt_notify/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/widbt_notify/widget.js b/apps/widbt_notify/widget.js index 04f91a698..f1e4d372f 100644 --- a/apps/widbt_notify/widget.js +++ b/apps/widbt_notify/widget.js @@ -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.