feat: Back on home menu opens the most recent book (#2619)

Co-authored-by: kira <rammah@tuta.io>
This commit is contained in:
rxmmah
2026-07-15 23:50:22 +03:00
committed by GitHub
co-authored by kira
parent a4ac3b2788
commit 63093e606c
3 changed files with 17 additions and 1 deletions
+3
View File
@@ -18,6 +18,9 @@ class HomeActivity final : public Activity {
bool hasOpdsServers = false;
bool coverRendered = false; // Track if cover has been rendered once
bool coverBufferStored = false; // Track if cover buffer is stored
// Home can be entered while Back is still held (e.g. leaving Settings with
// Back): ignore that stale release until a fresh press is seen here.
bool backPressSeen = false;
uint8_t* coverBuffer = nullptr; // HomeActivity's own buffer for cover image
size_t coverBufferSize = 0; // Bytes allocated to coverBuffer
// Logical rect last passed to drawRecentBookCover. The cover snapshot only