supaclk: remove unnecessary delete in remove funct

since they are initiatied with let inside the outer curly braces they
should be cleared automatically like all other let-ibles.
master
thyttan 2024-06-01 15:12:01 +02:00
parent 249a119e12
commit 82a5ab5724
1 changed files with 0 additions and 5 deletions

View File

@ -155,15 +155,10 @@ Bangle.setUI({
drawTimeout = undefined; drawTimeout = undefined;
delete Graphics.prototype.setFontPlayfairDisplay delete Graphics.prototype.setFontPlayfairDisplay
delete Graphics.prototype.setFontPlayfairDisplaySm delete Graphics.prototype.setFontPlayfairDisplaySm
delete clockInfoItems;
clockInfoMenu1&&clockInfoMenu1.remove(); clockInfoMenu1&&clockInfoMenu1.remove();
delete clockInfoMenu1;
clockInfoMenu2&&clockInfoMenu2.remove(); clockInfoMenu2&&clockInfoMenu2.remove();
delete clockInfoMenu2;
clockInfoMenu3&&clockInfoMenu3.remove(); clockInfoMenu3&&clockInfoMenu3.remove();
delete clockInfoMenu3;
clockInfoMenu4&&clockInfoMenu4.remove(); clockInfoMenu4&&clockInfoMenu4.remove();
delete clockInfoMenu4;
}}); }});
Bangle.loadWidgets(); Bangle.loadWidgets();