Refresh when no last book found

This commit is contained in:
Irene Ying 2026-01-19 18:45:41 -08:00
parent 5c84667c24
commit 44bf68ceb0
3 changed files with 3 additions and 0 deletions

View File

@ -165,6 +165,7 @@ void EpubReaderActivity::loop() {
renderer.fillRect(x + 5, y + 5, w - 10, h - 10, false);
renderer.drawText(UI_12_FONT_ID, x + margin, y + margin, "No last book found.");
renderer.displayBuffer();
updateRequired = true;
} else {
onSwapBooks();
}

View File

@ -123,6 +123,7 @@ void TxtReaderActivity::loop() {
renderer.fillRect(x + 5, y + 5, w - 10, h - 10, false);
renderer.drawText(UI_12_FONT_ID, x + margin, y + margin, "No last book found.");
renderer.displayBuffer();
updateRequired = true;
} else {
onSwapBooks();
}

View File

@ -125,6 +125,7 @@ void XtcReaderActivity::loop() {
renderer.fillRect(x + 5, y + 5, w - 10, h - 10, false);
renderer.drawText(UI_12_FONT_ID, x + margin, y + margin, "No last book found.");
renderer.displayBuffer();
updateRequired = true;
} else {
onSwapBooks();
}