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 authored and GitHub committed 2026-02-09 05:01:30 +11:00
1 parent 5b90b68e99
commit 1caad578fc
5 files changed
+17 -4

No files matched your search

+1
View File
@@ -34,4 +34,5 @@ class ReaderActivity final : public ActivityWithSubactivity {
onGoBack(onGoBack),
onGoToLibrary(onGoToLibrary) {}
void onEnter() override;
bool isReaderActivity() const override { return true; }
};