Skip to content

Commit

Permalink
messagegui: make sure to cancel unread timeout if persist
Browse files Browse the repository at this point in the history
  • Loading branch information
thyttan committed Jan 25, 2025
1 parent 271c38d commit 97e6417
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/messagegui/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ function showMessageRouter(msg, persist, calledFrom) {
////var active; // active screen (undefined/"list"/"music"/"map"/"message"/"scroller"/"settings")
//if (active==undefined) { } else if (active=="list") ... //and so on.

if (persist) {cancelReloadTimeout()}

if (msg.id=="music") {
cancelReloadTimeout(); // don't auto-reload to clock now
return showMusicMessage(msg);
Expand Down

0 comments on commit 97e6417

Please sign in to comment.