Refactor to a more generic unobstrusive approach

This commit is contained in:
jpirnay committed 2026-03-27 17:06:30 +01:00
1 parent 3f8a87e907
commit a51fd3953d
3 files changed
+8 -6

No files matched your search

+1
View File
@@ -37,6 +37,7 @@ std::unique_ptr<Epub> ReaderActivity::loadEpub(const std::string& path) {
}
auto epub = std::unique_ptr<Epub>(new Epub(path, "/.crosspoint"));
epub->setSyntheticTocFallbackEnabled(SETTINGS.syntheticTocFallback != 0);
if (epub->load(true, SETTINGS.embeddedStyle == 0)) {
return epub;
}