From f7fe2abd286fe105ffec7a21316b340c45bccabe Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Thu, 23 May 2019 20:15:06 -0400 Subject: Always darken leading zero of time --- app/index.js | 4 +--- package.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/index.js b/app/index.js index 5f21478..cbde03f 100644 --- a/app/index.js +++ b/app/index.js @@ -109,9 +109,7 @@ function setHours(val) { drawNumeral(Math.floor(val / 10), hours1); } else { drawNumeral(0, hours1); - if (preferences.clockDisplay === "12h") { - hours1.style.opacity = 0.2; - } + hours1.style.opacity = 0.2; } drawNumeral(Math.floor(val % 10), hours2); } diff --git a/package.json b/package.json index 1215f49..361608e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fitbit-cpu-clock", - "version": "0.2.0", + "version": "0.2.1", "license": "MIT", "devDependencies": { "@fitbit/sdk": "~3.1.0", -- cgit v1.2.3