mirror of https://github.com/espruino/BangleApps
0.36: Ensure a new message plus an almost immediate deletion of that message doesn't load the messages app (fix #1362)
parent
e6eb8b0cb4
commit
b7f00b1ee9
|
@ -48,3 +48,4 @@
|
|||
0.33: Timeout from the message list screen if the message being displayed is removed and there is a timer going
|
||||
0.34: Don't buzz for 'map' update messages
|
||||
0.35: Reset graphics colors before rendering a message (possibly fix #1752)
|
||||
0.36: Ensure a new message plus an almost immediate deletion of that message doesn't load the messages app (fix #1362)
|
||||
|
|
|
@ -43,6 +43,9 @@ exports.pushMessage = function(event) {
|
|||
// if we've removed the last new message, hide the widget
|
||||
if (event.t=="remove" && !messages.some(m=>m.new)) {
|
||||
if (global.WIDGETS && WIDGETS.messages) WIDGETS.messages.hide();
|
||||
// if no new messages now, make sure we don't load the messages app
|
||||
if (exports.messageTimeout && !messages.some(m=>m.new))
|
||||
clearTimeout(exports.messageTimeout);
|
||||
}
|
||||
// ok, saved now
|
||||
if (event.id=="music" && Bangle.CLOCK && messages[mIdx].new && openMusic()) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "messages",
|
||||
"name": "Messages",
|
||||
"version": "0.35",
|
||||
"version": "0.36",
|
||||
"description": "App to display notifications from iOS and Gadgetbridge/Android",
|
||||
"icon": "app.png",
|
||||
"type": "app",
|
||||
|
|
Loading…
Reference in New Issue