fix ghosting regression when opening subactivity from within reader

This commit is contained in:
jpirnay
2026-04-15 09:57:08 +02:00
parent 663326bde6
commit 65107d9891
5 changed files with 5 additions and 8 deletions
@@ -69,6 +69,7 @@ void XtcReaderActivity::loop() {
// Enter chapter selection activity
if (mappedInput.wasReleased(MappedInputManager::Button::Confirm)) {
if (xtc && xtc->hasChapters() && !xtc->getChapters().empty()) {
ReaderUtils::enforceExitFullRefresh(renderer);
startActivityForResult(
std::make_unique<XtcReaderChapterSelectionActivity>(renderer, mappedInput, xtc, currentPage),
[this](const ActivityResult& result) {