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: also apply longPressChapterSkip setting to xtc reader (#378)

## Summary

* This builds upon the helpful PR
https://github.com/crosspoint-reader/crosspoint-reader/pull/341, and
adds support for the setting to also apply to the XTC reader, which I
believed has just been missed and was not intentionally left out.
* XTC does not have chapter support yet, but it does skip 10 pages when
long-pressed, and so I think this is useful.

---

### AI Usage

Did you use AI tools to help write this code? No

authored by

Nathan James and committed by
GitHub
5a55fa1c c98ba142

+1 -1
+1 -1
src/activities/reader/XtcReaderActivity.cpp
··· 127 127 return; 128 128 } 129 129 130 - const bool skipPages = mappedInput.getHeldTime() > skipPageMs; 130 + const bool skipPages = SETTINGS.longPressChapterSkip && mappedInput.getHeldTime() > skipPageMs; 131 131 const int skipAmount = skipPages ? 10 : 1; 132 132 133 133 if (prevReleased) {