Review changes

This commit is contained in:
jpirnay
2026-04-27 14:38:20 +02:00
parent 2bce78c07a
commit ea99b764ce
13 changed files with 172 additions and 213 deletions
+1 -7
View File
@@ -22,10 +22,6 @@
#include "XtcReaderChapterSelectionActivity.h"
#include "fontIds.h"
namespace {
constexpr unsigned long goHomeMs = 1000;
} // namespace
void XtcReaderActivity::onEnter() {
Activity::onEnter();
@@ -61,6 +57,7 @@ void XtcReaderActivity::onExit() {
void XtcReaderActivity::loop() {
if (inputDrainGuard.shouldDrain(mappedInput)) {
buttonEvents.drain();
return;
}
@@ -146,9 +143,6 @@ void XtcReaderActivity::loop() {
}
} else if (nextTriggered) {
currentPage++;
if (currentPage >= xtc->getPageCount()) {
currentPage = xtc->getPageCount(); // Allow showing "End of book"
}
requestUpdate();
}
}