diff --git a/app/src/main/java/io/legado/app/ui/readbook/config/MoreConfigDialog.kt b/app/src/main/java/io/legado/app/ui/readbook/config/MoreConfigDialog.kt index 8f52d65ef..479ce5969 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/config/MoreConfigDialog.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/config/MoreConfigDialog.kt @@ -35,7 +35,8 @@ class MoreConfigDialog : DialogFragment() { super.onViewCreated(view, savedInstanceState) var preferenceFragment = childFragmentManager.findFragmentByTag(readPreferTag) if (preferenceFragment == null) preferenceFragment = ReadPreferenceFragment() - childFragmentManager.beginTransaction().replace(view.id, preferenceFragment, readPreferTag) + childFragmentManager.beginTransaction() + .replace(view.id, preferenceFragment, readPreferTag) .commit() } } \ No newline at end of file