pull/68/head^2
kunfei 5 years ago
parent fc1d36d1c8
commit 3a9d9e33e2
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt

@ -88,6 +88,8 @@ class ContentView : FrameLayout {
if (file.exists()) { if (file.exists()) {
content_text_view.typeface = Typeface.createFromFile(it) content_text_view.typeface = Typeface.createFromFile(it)
return@let return@let
} else {
context.putPrefString(PreferKey.readBookFont, "")
} }
} }
content_text_view.typeface = Typeface.DEFAULT content_text_view.typeface = Typeface.DEFAULT

Loading…
Cancel
Save