Skip to content

Commit 034ebfb

Browse files
author
thyttan
committed
apphist: tweak comment re resetHistory on kill.
1 parent 750a595 commit 034ebfb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/apphist/boot.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ global.load = globalLoadWithHistory;
4545
Bangle.load = addHistoryTraversalFastload(Bangle._load);
4646

4747
E.on('kill', ()=>{
48-
// Usually record history, but reset it if long press of HW button was used. May be tricky to release button quick enough to not trigger resetHistory.
48+
// Usually record history, but reset it if long press of HW button was used.
49+
// FIXME: May be tricky for user to release button quickly enough to not trigger resetHistory.
4950
if (!BTN.read()) recordHistory(); else resetHistory();
5051
});
5152
}

0 commit comments

Comments
 (0)