pull/1336/head
gedoor 3 years ago
parent 88a7a3288e
commit b5e8f29cf9
  1. 4
      app/src/main/java/io/legado/app/ui/config/CoverConfigFragment.kt

@ -32,6 +32,10 @@ class CoverConfigFragment : BasePreferenceFragment(),
addPreferencesFromResource(R.xml.pref_config_cover)
upPreferenceSummary(PreferKey.defaultCover, getPrefString(PreferKey.defaultCover))
upPreferenceSummary(PreferKey.defaultCoverDark, getPrefString(PreferKey.defaultCoverDark))
findPreference<SwitchPreference>(PreferKey.coverShowAuthor)
?.isEnabled = getPrefBoolean(PreferKey.coverShowName)
findPreference<SwitchPreference>(PreferKey.coverShowAuthorN)
?.isEnabled = getPrefBoolean(PreferKey.coverShowNameN)
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {

Loading…
Cancel
Save