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 Dave Allie
parent bb983d0ef4
commit 4f0a3aa4dd
5 changed files with 17 additions and 4 deletions

View File

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