Fix first volume cover preference in MangaDex. (#14044)

This commit is contained in:
Alessandro Jean 2022-10-30 10:35:12 -03:00 committed by GitHub
parent 89be37a8f3
commit 9a0c04c679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'MangaDex'
pkgNameSuffix = 'all.mangadex'
extClass = '.MangaDexFactory'
extVersionCode = 171
extVersionCode = 172
isNsfw = true
}

View File

@ -581,7 +581,7 @@ abstract class MangaDex(final override val lang: String, private val dexLang: St
val checkValue = newValue as Boolean
preferences.edit()
.putBoolean(MDConstants.getDataSaverPreferenceKey(dexLang), checkValue)
.putBoolean(MDConstants.getTryUsingFirstVolumeCoverPrefKey(dexLang), checkValue)
.commit()
}
}