diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt index f5d329356..cc9e9e666 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt @@ -88,6 +88,8 @@ class ContentView : FrameLayout { if (file.exists()) { content_text_view.typeface = Typeface.createFromFile(it) return@let + } else { + context.putPrefString(PreferKey.readBookFont, "") } } content_text_view.typeface = Typeface.DEFAULT