0.02: Minor layout format tweak so it uses less memory and draws ok on Bangle.js 1 (#1012)

master
Gordon Williams 2021-12-06 16:17:31 +00:00
parent 6b2350188f
commit 1bac94c622
3 changed files with 18 additions and 19 deletions

View File

@ -4738,7 +4738,7 @@
{
"id": "weatherClock",
"name": "Weather Clock",
"version": "0.01",
"version": "0.02",
"description": "A clock which displays current weather conditions (requires Gadgetbridge and Weather apps).",
"icon": "app.png",
"screenshots": [{"url":"screens/screen1.png"}],

View File

@ -1 +1,2 @@
0.01: New App!
0.02: Minor layout format tweak so it uses less memory and draws ok on Bangle.js 1 (#1012)

View File

@ -69,7 +69,6 @@ var clockLayout = new Layout( {
{type:"txt", font:"10%", label:"01/01/1970", id:"date" }
]
},
{type: "v", fillx: 1, c: [
{type: "h", valign : 1, fillx:1, c: [
{type: "img", filly: 1, id: "weatherIcon", src: sunIcon},
{type: "v", fillx:1, c: [
@ -83,7 +82,6 @@ var clockLayout = new Layout( {
]}
]
},
]},
]}]
});