remove altdrawtimer on exit to launcher

pull/3700/head
Carl Chan 2024-12-24 12:51:50 -05:00
parent 32dc122a3a
commit c03d38517a
1 changed files with 2 additions and 0 deletions

View File

@ -351,7 +351,9 @@ Bangle.setUI({
mode : "clock",
remove : function() {
if (drawTimeout) clearTimeout(drawTimeout);
if (AltDrawTimer) clearTimeout(AltDrawTimer);
drawTimeout = undefined;
AltDrawTimer = undefined;
require("widget_utils").show(); // re-show widgets
}});
Bangle.loadWidgets();