feat: wakeup target detection (#731)

## Summary

* If going to sleep was from the Reader view, wake up to the same book.
Otherwise, wakeup to the Home view
This commit is contained in:
Arthur Tazhitdinov
2026-02-08 21:01:30 +03:00
committed by GitHub
parent 5b90b68e99
commit 1caad578fc
5 changed files with 17 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ class CrossPointState {
std::string openEpubPath;
uint8_t lastSleepImage;
uint8_t readerActivityLoadCount = 0;
bool lastSleepFromReader = false;
~CrossPointState() = default;
// Get singleton instance