fix: Prevent sleeping when in OPDS browser / downloading books (#818)
## Summary * Prevent sleeping when in OPDS browser / downloading books ## Additional Context * Raised in https://github.com/crosspoint-reader/crosspoint-reader/discussions/673 --- ### AI Usage While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it helps set the right context for reviewers. Did you use AI tools to help write this code? No
This commit is contained in:
@@ -64,4 +64,5 @@ class OpdsBookBrowserActivity final : public ActivityWithSubactivity {
|
||||
void navigateToEntry(const OpdsEntry& entry);
|
||||
void navigateBack();
|
||||
void downloadBook(const OpdsEntry& book);
|
||||
bool preventAutoSleep() override { return true; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user