This commit is contained in:
aditya.chandel
2025-03-08 00:02:51 -07:00
parent f8ce3349c9
commit 39387c1e97
@@ -109,7 +109,7 @@ export class EpubViewerComponent implements OnInit, OnDestroy {
this.rendition.themes.register(name, theme); this.rendition.themes.register(name, theme);
}); });
let globalOrIndividual = myself.bookPreferences.perBookSetting.pdf; let globalOrIndividual = myself.bookPreferences.perBookSetting.epub;
if (globalOrIndividual === 'Global') { if (globalOrIndividual === 'Global') {
this.selectedTheme = myself.bookPreferences.epubReaderSetting.theme || FALLBACK_EPUB_SETTINGS.theme; this.selectedTheme = myself.bookPreferences.epubReaderSetting.theme || FALLBACK_EPUB_SETTINGS.theme;
this.selectedFontType = myself.bookPreferences.epubReaderSetting.font || FALLBACK_EPUB_SETTINGS.fontType; this.selectedFontType = myself.bookPreferences.epubReaderSetting.font || FALLBACK_EPUB_SETTINGS.fontType;