Integrate and extend pr 1372 by andreaturchet

This commit is contained in:
jpirnay
2026-04-14 18:22:54 +02:00
parent 9d3f98eeb1
commit 4aabcc934c
15 changed files with 443 additions and 20 deletions
@@ -26,6 +26,8 @@ class EpubReaderMenuActivity final : public MenuListActivity {
GO_HOME,
PULL_REMOTE,
PUSH_LOCAL,
SYNC,
STARRED_PAGES,
DELETE_CACHE
};
@@ -33,13 +35,14 @@ class EpubReaderMenuActivity final : public MenuListActivity {
const int currentPage, const int totalPages, const int bookProgressPercent,
const uint8_t currentOrientation, const bool hasFootnotes,
const int8_t initialEmbeddedStyleOverride, const int8_t initialImageRenderingOverride,
const uint8_t initialTextDarkness);
const uint8_t initialTextDarkness,
const bool hasStarredPages);
void onEnter() override;
void render(RenderLock&&) override;
private:
void buildMenuItems(bool hasFootnotes);
void buildMenuItems(bool hasFootnotes, bool hasStarredPages);
void finishWithAction(MenuAction action);
// MenuListActivity overrides