pull/32/head
kunfei 5 years ago
parent a9a8d720e6
commit b27902fee7
  1. 3
      app/src/main/java/io/legado/app/ui/readbook/config/MoreConfigDialog.kt

@ -35,7 +35,8 @@ class MoreConfigDialog : DialogFragment() {
super.onViewCreated(view, savedInstanceState) super.onViewCreated(view, savedInstanceState)
var preferenceFragment = childFragmentManager.findFragmentByTag(readPreferTag) var preferenceFragment = childFragmentManager.findFragmentByTag(readPreferTag)
if (preferenceFragment == null) preferenceFragment = ReadPreferenceFragment() if (preferenceFragment == null) preferenceFragment = ReadPreferenceFragment()
childFragmentManager.beginTransaction().replace(view.id, preferenceFragment, readPreferTag) childFragmentManager.beginTransaction()
.replace(view.id, preferenceFragment, readPreferTag)
.commit() .commit()
} }
} }
Loading…
Cancel
Save