From 0d568374ae09a038edd94c1fc71c10136e04266c Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 30 Nov 2019 20:06:19 +0800 Subject: [PATCH] up --- .../io/legado/app/ui/book/read/config/ReadAloudConfigDialog.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudConfigDialog.kt b/app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudConfigDialog.kt index a5b1349a2..2b2d27eb4 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudConfigDialog.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudConfigDialog.kt @@ -51,8 +51,7 @@ class ReadAloudConfigDialog : DialogFragment() { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) var preferenceFragment = childFragmentManager.findFragmentByTag(readAloudPreferTag) - if (preferenceFragment == null) preferenceFragment = - ReadAloudPreferenceFragment() + if (preferenceFragment == null) preferenceFragment = ReadAloudPreferenceFragment() childFragmentManager.beginTransaction() .replace(view.id, preferenceFragment, readAloudPreferTag) .commit()