messagegui: fix assign entry to menu, not msg obj

pull/3677/head
thyttan 2024-11-29 22:00:51 +01:00
parent f34a9bfc32
commit 236a4c84cf
3 changed files with 3 additions and 2 deletions

View File

@ -112,3 +112,4 @@
Add top-right menu to music playback to allow message to be deleted Add top-right menu to music playback to allow message to be deleted
0.82: Stop buzzing when a message is removed (e.g. call answered) 0.82: Stop buzzing when a message is removed (e.g. call answered)
0.83: Add option to not open the first unread message 0.83: Add option to not open the first unread message
0.84: Fix: Assign show message entry to the settings menu and not the message itself.

View File

@ -283,7 +283,7 @@ function showMessageSettings(msg) {
}; };
if (msg.id!="music") if (msg.id!="music")
msg[/*LANG*/"View Message"] = () => showMessageScroller(msg); menu[/*LANG*/"View Message"] = () => showMessageScroller(msg);
if (msg.reply && reply) { if (msg.reply && reply) {
menu[/*LANG*/"Reply"] = () => { menu[/*LANG*/"Reply"] = () => {

View File

@ -2,7 +2,7 @@
"id": "messagegui", "id": "messagegui",
"name": "Message UI", "name": "Message UI",
"shortName": "Messages", "shortName": "Messages",
"version": "0.83", "version": "0.84",
"description": "Default app to display notifications from iOS and Gadgetbridge/Android", "description": "Default app to display notifications from iOS and Gadgetbridge/Android",
"icon": "app.png", "icon": "app.png",
"type": "app", "type": "app",