weatherclock v0.06

pull/2617/head
lunctis-viribus 2023-02-25 19:17:42 +01:00
parent a414026074
commit fd33d8445e
2 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@
"description": "A clock which displays current weather conditions (requires Gadgetbridge and Weather apps).",
"icon": "app.png",
"dependencies": {"weather":"app"},
"screenshots": [{"url":"screens/screen1.png"}, {"url":"screens/screen2.png"}],
"screenshots": [{"url":"screens/screen1.png"}],
"type": "clock",
"tags": "clock, weather",
"supports": ["BANGLEJS","BANGLEJS2"],
@ -15,7 +15,7 @@
"storage": [
{"name":"weatherClock.app.js","url":"app.js"},
{"name":"weatherClock.img","url":"app-icon.js","evaluate":true},
{"name":"weatherClock.settings.js","url":"weatherClock.settings.js"}
{"name":"weatherClock.settings.js","url":"settings.js"}
],
"data": [{"name":"weatherClock.json"}]
}

View File

@ -25,21 +25,21 @@
E.showMenu({
'': { 'title': 'Weather Clock' },
'< Back': back,
'Show DoW': {
'Day Of Week': {
value: !!s.day,
onchange: v => {
s.day = v;
save();
},
},
'Show Date': {
'Date': {
value: !!s.date,
onchange: v => {
s.date = v;
save();
},
},
'Show Wind': {
'Wind Speed': {
value: !!s.wind,
onchange: v => {
s.wind = v;