forked from FOSS/BangleApps
weatherclock v0.06
parent
5ca69aa0a4
commit
f8766bcd84
|
@ -3,4 +3,4 @@
|
||||||
0.03: Minor layout extra spaces.
|
0.03: Minor layout extra spaces.
|
||||||
0.04: Layout now compatible with Bangle.js 2.
|
0.04: Layout now compatible with Bangle.js 2.
|
||||||
0.05: Use weather condition code for icon selection.
|
0.05: Use weather condition code for icon selection.
|
||||||
0.06: Dev15-New settings to optionally hide elements. Images placed into functions for performance.
|
0.06: Dev16-New settings to optionally hide elements. Images placed into functions for performance.
|
||||||
|
|
|
@ -91,14 +91,6 @@ function chooseIconByCode(code) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
Get weather stored in json file by weather app.
|
|
||||||
*/
|
|
||||||
function getWeather() {
|
|
||||||
let jsonWeather = storage.readJSON('weather.json');
|
|
||||||
return jsonWeather;
|
|
||||||
}
|
|
||||||
|
|
||||||
// timeout used to update every minute
|
// timeout used to update every minute
|
||||||
var drawTimeout;
|
var drawTimeout;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue