pull/32/head
kunfei 5 years ago
parent c16b55b4df
commit 4af8a49ef8
  1. 2
      app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt

@ -91,9 +91,11 @@ class ReadStyleDialog : DialogFragment() {
curPath = requireContext().getPrefString("readBookFont") curPath = requireContext().getPrefString("readBookFont")
defaultFont = { defaultFont = {
requireContext().putPrefString("readBookFont", "") requireContext().putPrefString("readBookFont", "")
postEvent(Bus.UP_CONFIG, true)
} }
selectFile = { selectFile = {
requireContext().putPrefString("readBookFont", it) requireContext().putPrefString("readBookFont", it)
postEvent(Bus.UP_CONFIG, true)
} }
}.show() }.show()
} }

Loading…
Cancel
Save