mirror of https://github.com/espruino/BangleApps
messages 0.29: Fix message list overwrites on Bangle.js 1 (fix #1642)
parent
02e9edcaeb
commit
172df0dc27
|
@ -41,3 +41,4 @@
|
||||||
0.26: Setting to auto-open music
|
0.26: Setting to auto-open music
|
||||||
0.27: Add 'mark all read' option to popup menu (fix #1624)
|
0.27: Add 'mark all read' option to popup menu (fix #1624)
|
||||||
0.28: Option to auto-unlock the watch when a new message arrives
|
0.28: Option to auto-unlock the watch when a new message arrives
|
||||||
|
0.29: Fix message list overwrites on Bangle.js 1 (fix #1642)
|
||||||
|
|
|
@ -457,6 +457,7 @@ function checkMessages(options) {
|
||||||
var msg = MESSAGES[idx-1];
|
var msg = MESSAGES[idx-1];
|
||||||
if (msg && msg.new) g.setBgColor(g.theme.bgH).setColor(g.theme.fgH);
|
if (msg && msg.new) g.setBgColor(g.theme.bgH).setColor(g.theme.fgH);
|
||||||
else g.setColor(g.theme.fg);
|
else g.setColor(g.theme.fg);
|
||||||
|
g.clearRect(r.x,r.y,r.x+r.w, r.y+r.h);
|
||||||
if (idx==0) msg = {id:"back", title:"< Back"};
|
if (idx==0) msg = {id:"back", title:"< Back"};
|
||||||
if (!msg) return;
|
if (!msg) return;
|
||||||
var x = r.x+2, title = msg.title, body = msg.body;
|
var x = r.x+2, title = msg.title, body = msg.body;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "messages",
|
"id": "messages",
|
||||||
"name": "Messages",
|
"name": "Messages",
|
||||||
"version": "0.28",
|
"version": "0.29",
|
||||||
"description": "App to display notifications from iOS and Gadgetbridge/Android",
|
"description": "App to display notifications from iOS and Gadgetbridge/Android",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"type": "app",
|
"type": "app",
|
||||||
|
|
Loading…
Reference in New Issue