diff --git a/app/src/main/java/io/legado/app/ui/config/CoverConfigFragment.kt b/app/src/main/java/io/legado/app/ui/config/CoverConfigFragment.kt index 9e6e36853..cff5c2cbb 100644 --- a/app/src/main/java/io/legado/app/ui/config/CoverConfigFragment.kt +++ b/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(PreferKey.coverShowAuthor) + ?.isEnabled = getPrefBoolean(PreferKey.coverShowName) + findPreference(PreferKey.coverShowAuthorN) + ?.isEnabled = getPrefBoolean(PreferKey.coverShowNameN) } override fun onViewCreated(view: View, savedInstanceState: Bundle?) {