1
0
Fork 0

weatherclock v0.06

master
lunctis-viribus 2023-02-27 21:43:20 +01:00
parent 5ca69aa0a4
commit f8766bcd84
2 changed files with 4 additions and 12 deletions

View File

@ -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.

View File

@ -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;