messages 0.29: Fix message list overwrites on Bangle.js 1 (fix #1642)

pull/1646/head
Gordon Williams 2022-04-01 09:54:25 +01:00
parent 02e9edcaeb
commit 172df0dc27
3 changed files with 3 additions and 1 deletions

View File

@ -41,3 +41,4 @@
0.26: Setting to auto-open music
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.29: Fix message list overwrites on Bangle.js 1 (fix #1642)

View File

@ -457,6 +457,7 @@ function checkMessages(options) {
var msg = MESSAGES[idx-1];
if (msg && msg.new) g.setBgColor(g.theme.bgH).setColor(g.theme.fgH);
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 (!msg) return;
var x = r.x+2, title = msg.title, body = msg.body;

View File

@ -1,7 +1,7 @@
{
"id": "messages",
"name": "Messages",
"version": "0.28",
"version": "0.29",
"description": "App to display notifications from iOS and Gadgetbridge/Android",
"icon": "app.png",
"type": "app",