mirror of https://github.com/espruino/BangleApps
weatherclock v0.06
parent
a414026074
commit
fd33d8445e
|
@ -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"}]
|
||||
}
|
||||
|
|
|
@ -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;
|
Loading…
Reference in New Issue