A fork of https://github.com/crosspoint-reader/crosspoint-reader
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: go to prev page on the first one, get teleported to the end of book (#970)

## Summary

1. Go to the first page in a .epub file.
2. Hit `Up` button
3. Get teleported to the last page :)

`TxtRenderActivity` seems to have this if check, but EPUB one does not.

---

### 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**_

authored by

Егор Мартынов and committed by
GitHub
10b77698 448a77f0

+1 -1
+1 -1
src/activities/reader/EpubReaderActivity.cpp
··· 241 241 if (prevTriggered) { 242 242 if (section->currentPage > 0) { 243 243 section->currentPage--; 244 - } else { 244 + } else if (currentSpineIndex > 0) { 245 245 // We don't want to delete the section mid-render, so grab the semaphore 246 246 { 247 247 RenderLock lock(*this);