From 75bdb0bec59dbe06d1ce73453b31ba975fd50723 Mon Sep 17 00:00:00 2001 From: loocool2 <36128021+loocool2@users.noreply.github.com> Date: Wed, 8 Sep 2021 12:38:29 -0700 Subject: [PATCH] Added support for OriginLanguage filtering in latest and browse, fixed porn chapters too (#8993) * Added originalLanguage filters * add content preference in chapter list * Remove zero width space * change default originLanguagepref to false * made originLang work in browse too * actually fixed nsfw chapter list maybe * added new MangaDex icons * filter all chapters with external links * change browse sort to followCount * add origin language filtering to browse and properly set default filter values * add all contentRating queries to the actual chapterlist request no matter what --- src/all/mangadex/build.gradle | 2 +- .../mangadex/res/mipmap-hdpi/ic_launcher.png | Bin 3613 -> 3648 bytes .../mangadex/res/mipmap-mdpi/ic_launcher.png | Bin 2388 -> 2066 bytes .../mangadex/res/mipmap-xhdpi/ic_launcher.png | Bin 4946 -> 4827 bytes .../res/mipmap-xxhdpi/ic_launcher.png | Bin 7675 -> 8792 bytes .../res/mipmap-xxxhdpi/ic_launcher.png | Bin 11819 -> 12553 bytes src/all/mangadex/res/web_hi_res_512.png | Bin 31837 -> 24736 bytes .../extension/all/mangadex/MDConstants.kt | 24 +++- .../extension/all/mangadex/MangaDex.kt | 106 +++++++++++++++--- .../extension/all/mangadex/MangaDexFilters.kt | 31 +++-- .../extension/all/mangadex/MangaDexHelper.kt | 8 +- .../extension/all/mangadex/dto/ChapterDto.kt | 1 + 12 files changed, 146 insertions(+), 26 deletions(-) diff --git a/src/all/mangadex/build.gradle b/src/all/mangadex/build.gradle index a07db024a..ae4b99d2d 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 = 130 + extVersionCode = 131 libVersion = '1.2' containsNsfw = true } diff --git a/src/all/mangadex/res/mipmap-hdpi/ic_launcher.png b/src/all/mangadex/res/mipmap-hdpi/ic_launcher.png index 1a7f25b744de3f4e4652abeb92ef6dad09c5cd4f..8de6d7f3b63901bd003e11996e3d2d375567bf3a 100644 GIT binary patch literal 3648 zcmV-G4!`k
Px#1am@3R0s$N2z&@+hyVZ$>PbXFRCr$PoC|PN