Skip to content

Commit 6ede526

Browse files
author
thyttan
committed
messagegui: refer to persist instead of looking at filename again
1 parent a3a78f3 commit 6ede526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/messagegui/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ function showMessagesScroller(msg, persist) {
361361
Bangle.emit("drag", {dy:0}); // Compatibility with `kineticscroll`, stopping the scroller so it doesn't continue scrolling when the `showMessageOverview` screen is loaded.
362362
// Zero ms timeout as to not move on before the scroller has registered the emitted drag event.
363363
setTimeout(()=>{
364-
if ("messagegui.new.js"===globalThis.__FILE__) {return load();}
364+
if (!persist) {return load();}
365365
Bangle.emit("touch", 1, {x:APP_RECT.x2/2, y:APP_RECT.y2/2, type:0});
366366
},0);
367367
}, BTN);

0 commit comments

Comments
 (0)