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:
1 parent
0c2df24f5c
commit
44452a42e9
1 file changed
+1
@@ -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