Skip to content

Commit

Permalink
messagegui 0.65: Make sure messages are saved if not in the clock app (
Browse files Browse the repository at this point in the history
…fix #2460)
  • Loading branch information
gfwilliams committed Feb 23, 2023
1 parent 5ebb56e commit 8bc9c5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/messagegui/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@
0.62: Remove '.show' field, tidyup and fix .open if fast load not enabled
0.63: Fix messages app loading on clock without fast load
0.64: Ensure we don't get 'undefined' as the message body
0.65: Make sure messages are saved if not in the clock app (fix #2460)
2 changes: 1 addition & 1 deletion apps/messagegui/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports.listener = function(type, msg) {
}

const appSettings = require("Storage").readJSON("messages.settings.json", 1) || {};
let loadMessages = (Bangle.CLOCK || event.important); // should we load the messages app?
let loadMessages = (Bangle.CLOCK || msg.important); // should we load the messages app?
if (type==="music") {
if (Bangle.CLOCK && msg.state && msg.title && appSettings.openMusic) loadMessages = true;
else return;
Expand Down
2 changes: 1 addition & 1 deletion apps/messagegui/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "messagegui",
"name": "Message UI",
"shortName": "Messages",
"version": "0.64",
"version": "0.65",
"description": "Default app to display notifications from iOS and Gadgetbridge/Android",
"icon": "app.png",
"type": "app",
Expand Down

0 comments on commit 8bc9c5d

Please sign in to comment.