forked from FOSS/BangleApps
commit
867198698d
|
@ -9,3 +9,4 @@
|
|||
0.09: Changed day color back to white
|
||||
0.10: Add blinking when charging
|
||||
0.11: Changed battery to buzz instead of blink and fixed battery counter
|
||||
0.12: Got rid of battery counter
|
|
@ -5,7 +5,6 @@ var settings = Object.assign({
|
|||
showbat: true,
|
||||
}, require('Storage').readJSON("binaryclk.json", true) || {});
|
||||
|
||||
var cnt = 0;
|
||||
var gap = 4;
|
||||
var mgn = 24;
|
||||
var sq = 33;
|
||||
|
@ -96,16 +95,8 @@ function draw() {
|
|||
}
|
||||
|
||||
if (settings.showbat) {
|
||||
var batcnt = cnt;
|
||||
if (batcnt == 0) {
|
||||
drawbat();
|
||||
drawbatrect();
|
||||
}
|
||||
cnt++;
|
||||
}
|
||||
|
||||
if (cnt > 29) {
|
||||
cnt = 0;
|
||||
drawbat();
|
||||
drawbatrect();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "binaryclk",
|
||||
"name": "Bin Clock",
|
||||
"version": "0.11",
|
||||
"version": "0.12",
|
||||
"description": "Binary clock with date and battery",
|
||||
"icon": "app-icon.png",
|
||||
"screenshots": [{"url":"screenshot.png"}],
|
||||
|
|
Loading…
Reference in New Issue