From 9a0c04c679ed8651873bff1c74d65f785375ff79 Mon Sep 17 00:00:00 2001 From: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com> Date: Sun, 30 Oct 2022 10:35:12 -0300 Subject: [PATCH] Fix first volume cover preference in MangaDex. (#14044) --- src/all/mangadex/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/all/mangadex/MangaDex.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/all/mangadex/build.gradle b/src/all/mangadex/build.gradle index 54a5cc5d7..7ce405845 100644 --- a/src/all/mangadex/build.gradle +++ b/src/all/mangadex/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'MangaDex' pkgNameSuffix = 'all.mangadex' extClass = '.MangaDexFactory' - extVersionCode = 171 + extVersionCode = 172 isNsfw = true } diff --git a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangaDex.kt b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangaDex.kt index 0c59e0640..a95570053 100644 --- a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangaDex.kt +++ b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangaDex.kt @@ -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() } }