From 117a7aa55219548fe339a6ee82a2a1c92351b8bd Mon Sep 17 00:00:00 2001 From: charlestietjen Date: Thu, 2 Nov 2023 08:40:33 -0400 Subject: [PATCH] remove some comments --- apps/approxclock/ChangeLog | 2 ++ apps/approxclock/app.js | 13 +------------ apps/approxclock/metadata.json | 2 +- 3 files changed, 4 insertions(+), 13 deletions(-) create mode 100644 apps/approxclock/ChangeLog diff --git a/apps/approxclock/ChangeLog b/apps/approxclock/ChangeLog new file mode 100644 index 000000000..2d2969315 --- /dev/null +++ b/apps/approxclock/ChangeLog @@ -0,0 +1,2 @@ +0.1: Initial release +0.2: Added more descriptive approximations \ No newline at end of file diff --git a/apps/approxclock/app.js b/apps/approxclock/app.js index 26da19b7c..4fdabc316 100644 --- a/apps/approxclock/app.js +++ b/apps/approxclock/app.js @@ -87,6 +87,7 @@ const drawTime = () => { g.clear(); g.reset(); + //Build watch face g.setBgColor(0,0,0); g.clearRect(0, 0, width, height); g.setFont("Vector", 22); @@ -114,18 +115,6 @@ Bangle.on('lcdPower', function(on){ } }); -//var secondInterval = setInterval(draw, 1000); -// Stop updates when LCD is off, restart when on -//Bangle.on('lcdPower',on=>{ -// if (secondInterval) clearInterval(secondInterval); -// secondInterval = undefined; -// if (on) { -// secondInterval = setInterval(draw, 1000); -// g.clear(); -// draw(); // draw immediately -// } -//}); - // Show launcher when button pressed Bangle.setUI("clock"); Bangle.loadWidgets(); diff --git a/apps/approxclock/metadata.json b/apps/approxclock/metadata.json index 3d08a41b0..12b468747 100644 --- a/apps/approxclock/metadata.json +++ b/apps/approxclock/metadata.json @@ -1,7 +1,7 @@ { "id": "approxclock", "name": "Approximate Clock", "shortName" : "Approx Clock", - "version": "0.1", + "version": "0.2", "icon": "app.png", "description": "A really basic spelled out time display for people looking for the vague time at a glance.", "type": "clock",