Changed mangadex default sort to most follows (#9155)

Co-authored-by: nayan <TheOneMaster@users.noreply.github.com>
This commit is contained in:
TheOneMaster 2021-09-20 23:37:16 +02:00 committed by GitHub
parent f267b0f5d7
commit 965aecc006
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' extName = 'MangaDex'
pkgNameSuffix = 'all.mangadex' pkgNameSuffix = 'all.mangadex'
extClass = '.MangaDexFactory' extClass = '.MangaDexFactory'
extVersionCode = 137 extVersionCode = 138
containsNsfw = true containsNsfw = true
} }

View File

@ -200,7 +200,7 @@ class MangaDexFilters {
Pair("Year", "year") Pair("Year", "year")
) )
class SortFilter(sortables: Array<String>) : Filter.Sort("Sort", sortables, Selection(0, false)) class SortFilter(sortables: Array<String>) : Filter.Sort("Sort", sortables, Selection(2, false))
internal fun addFiltersToUrl(url: HttpUrl.Builder, filters: FilterList): String { internal fun addFiltersToUrl(url: HttpUrl.Builder, filters: FilterList): String {
url.apply { url.apply {