forked from FOSS/BangleApps
messages: improve memory usage
Clear `layout` when going back from message to listmaster
parent
489582ee91
commit
b854e58a96
|
@ -286,6 +286,7 @@ function showMessage(msgid) {
|
|||
}
|
||||
}
|
||||
function goBack() {
|
||||
layout = undefined;
|
||||
msg.new = false; saveMessages(); // read mail
|
||||
cancelReloadTimeout(); // don't auto-reload to clock now
|
||||
checkMessages({clockIfNoMsg:1,clockIfAllRead:0,showMsgIfUnread:0,openMusic:openMusic});
|
||||
|
|
Loading…
Reference in New Issue