From 4af8a49ef8f8942cecc832fbd7b27083ae2b3237 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 29 Aug 2019 16:17:28 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt b/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt index 327480353..53fafd0cf 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt @@ -91,9 +91,11 @@ class ReadStyleDialog : DialogFragment() { curPath = requireContext().getPrefString("readBookFont") defaultFont = { requireContext().putPrefString("readBookFont", "") + postEvent(Bus.UP_CONFIG, true) } selectFile = { requireContext().putPrefString("readBookFont", it) + postEvent(Bus.UP_CONFIG, true) } }.show() }