mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 23:57:39 +03:00
Refresh when no last book found
This commit is contained in:
parent
5c84667c24
commit
44bf68ceb0
@ -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();
|
||||
}
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user