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-09 05:01:30 +11:00
committed by GitHub
parent 8b74591571
commit 3b3b248adc
5 changed files with 17 additions and 4 deletions
+1
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