From 39387c1e97c00ec9fc70eeb0ae5125a03897c1e9 Mon Sep 17 00:00:00 2001 From: "aditya.chandel" <> Date: Sat, 8 Mar 2025 00:02:51 -0700 Subject: [PATCH] Fix epub --- .../src/app/epub-viewer/component/epub-viewer.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booklore-ui/src/app/epub-viewer/component/epub-viewer.component.ts b/booklore-ui/src/app/epub-viewer/component/epub-viewer.component.ts index 5437aa715..9e6f4cc18 100644 --- a/booklore-ui/src/app/epub-viewer/component/epub-viewer.component.ts +++ b/booklore-ui/src/app/epub-viewer/component/epub-viewer.component.ts @@ -109,7 +109,7 @@ export class EpubViewerComponent implements OnInit, OnDestroy { this.rendition.themes.register(name, theme); }); - let globalOrIndividual = myself.bookPreferences.perBookSetting.pdf; + let globalOrIndividual = myself.bookPreferences.perBookSetting.epub; if (globalOrIndividual === 'Global') { this.selectedTheme = myself.bookPreferences.epubReaderSetting.theme || FALLBACK_EPUB_SETTINGS.theme; this.selectedFontType = myself.bookPreferences.epubReaderSetting.font || FALLBACK_EPUB_SETTINGS.fontType;