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
parent
249a119e12
commit
82a5ab5724
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue