1
0
Fork 0

[ minor, codestyle ] Fix inconsistent indentation

master
Denis Buzdalov 2024-12-11 13:19:07 +03:00
parent 1ec19d47b1
commit dabb6dc72c
1 changed files with 20 additions and 21 deletions

View File

@ -26,7 +26,6 @@ const zahlpos=(function() {
return z; return z;
})(); })();
let zeiger = function(len,dia,tim) { let zeiger = function(len,dia,tim) {
const x=c.x+ Math.cos(tim)*len/2, const x=c.x+ Math.cos(tim)*len/2,
y=c.y + Math.sin(tim)*len/2, y=c.y + Math.sin(tim)*len/2,
@ -141,7 +140,8 @@ Bangle.setUI({
Bangle.removeListener('lcdPower', updateState); Bangle.removeListener('lcdPower', updateState);
Bangle.removeListener('lock', updateState); Bangle.removeListener('lock', updateState);
require("widget_utils").show(); require("widget_utils").show();
}}); }
});
// Load widgets if needed, and make them show swipeable // Load widgets if needed, and make them show swipeable
if (settings.loadWidgets) { if (settings.loadWidgets) {
Bangle.loadWidgets(); Bangle.loadWidgets();
@ -166,7 +166,6 @@ let updateState = function() {
// Stop updates when LCD is off, restart when on // Stop updates when LCD is off, restart when on
Bangle.on('lcdPower', updateState); Bangle.on('lcdPower', updateState);
Bangle.on('lock', updateState); Bangle.on('lock', updateState);
let unlock = true; let unlock = true;