mirror of https://github.com/espruino/BangleApps
fix daisy and pastel idle timer always defaulting to true in the app
parent
215bf9d347
commit
17df3c5d6f
|
@ -5,3 +5,4 @@
|
||||||
0.05: changed text to uppercase, just looks better, removed colons on text
|
0.05: changed text to uppercase, just looks better, removed colons on text
|
||||||
0.06: better contrast for light theme, use fg color instead of dithered for ring
|
0.06: better contrast for light theme, use fg color instead of dithered for ring
|
||||||
0.07: Use default Bangle formatter for booleans
|
0.07: Use default Bangle formatter for booleans
|
||||||
|
0.08: fix idle timer always getting set to true
|
||||||
|
|
|
@ -83,7 +83,7 @@ function loadSettings() {
|
||||||
settings = require("Storage").readJSON(SETTINGS_FILE,1)||{};
|
settings = require("Storage").readJSON(SETTINGS_FILE,1)||{};
|
||||||
settings.gy = settings.gy||'#020';
|
settings.gy = settings.gy||'#020';
|
||||||
settings.fg = settings.fg||'#0f0';
|
settings.fg = settings.fg||'#0f0';
|
||||||
settings.idle_check = settings.idle_check||true;
|
settings.idle_check = (settings.idle_check === undefined ? true : settings.idle_check);
|
||||||
assignPalettes();
|
assignPalettes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ "id": "daisy",
|
{ "id": "daisy",
|
||||||
"name": "Daisy",
|
"name": "Daisy",
|
||||||
"version":"0.07",
|
"version":"0.08",
|
||||||
"dependencies": {"mylocation":"app"},
|
"dependencies": {"mylocation":"app"},
|
||||||
"description": "A beautiful digital clock with large ring guage, idle timer and a cyclic information line that includes, day, date, steps, battery, sunrise and sunset times",
|
"description": "A beautiful digital clock with large ring guage, idle timer and a cyclic information line that includes, day, date, steps, battery, sunrise and sunset times",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
|
|
|
@ -18,3 +18,4 @@
|
||||||
added setting to enable/disable idle timer warning
|
added setting to enable/disable idle timer warning
|
||||||
0.16: make check_idle boolean setting work properly with new B2 menu
|
0.16: make check_idle boolean setting work properly with new B2 menu
|
||||||
0.17: Use default Bangle formatter for booleans
|
0.17: Use default Bangle formatter for booleans
|
||||||
|
0.18: fix idle option always getting defaulted to true
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "pastel",
|
"id": "pastel",
|
||||||
"name": "Pastel Clock",
|
"name": "Pastel Clock",
|
||||||
"shortName": "Pastel",
|
"shortName": "Pastel",
|
||||||
"version": "0.17",
|
"version": "0.18",
|
||||||
"description": "A Configurable clock with custom fonts, background and weather display. Has a cyclic information line that includes, day, date, battery, sunrise and sunset times",
|
"description": "A Configurable clock with custom fonts, background and weather display. Has a cyclic information line that includes, day, date, battery, sunrise and sunset times",
|
||||||
"icon": "pastel.png",
|
"icon": "pastel.png",
|
||||||
"dependencies": {"mylocation":"app","weather":"app"},
|
"dependencies": {"mylocation":"app","weather":"app"},
|
||||||
|
|
|
@ -34,7 +34,7 @@ function loadSettings() {
|
||||||
settings = require("Storage").readJSON(SETTINGS_FILE,1)||{};
|
settings = require("Storage").readJSON(SETTINGS_FILE,1)||{};
|
||||||
settings.grid = settings.grid||false;
|
settings.grid = settings.grid||false;
|
||||||
settings.font = settings.font||"Lato";
|
settings.font = settings.font||"Lato";
|
||||||
settings.idle_check = settings.idle_check||true;
|
settings.idle_check = (settings.idle_check === undefined ? true : settings.idle_check);
|
||||||
}
|
}
|
||||||
|
|
||||||
// requires the myLocation app
|
// requires the myLocation app
|
||||||
|
|
Loading…
Reference in New Issue