ComicK: Add new sort: "Newest" (#17188)

* ComicK: Add new sort: "Newest"

* ComicK: Update extVersionCode
This commit is contained in:
iD-666 2023-07-21 09:13:35 +07:00 committed by GitHub
parent 5d4154f58d
commit d5afad1fdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Comick' extName = 'Comick'
pkgNameSuffix = 'all.comickfun' pkgNameSuffix = 'all.comickfun'
extClass = '.ComickFunFactory' extClass = '.ComickFunFactory'
extVersionCode = 29 extVersionCode = 30
isNsfw = true isNsfw = true
} }

View File

@ -165,6 +165,8 @@ private val getTypeList: List<CheckBox> = listOf(
private val getCreatedAtList: Array<Pair<String, String>> = arrayOf( private val getCreatedAtList: Array<Pair<String, String>> = arrayOf(
Pair("", ""), Pair("", ""),
Pair("3 days", "3"),
Pair("7 days", "7"),
Pair("30 days", "30"), Pair("30 days", "30"),
Pair("3 months", "90"), Pair("3 months", "90"),
Pair("6 months", "180"), Pair("6 months", "180"),
@ -177,4 +179,5 @@ private val getSortsList: Array<Pair<String, String>> = arrayOf(
Pair("Most views", "view"), Pair("Most views", "view"),
Pair("High rating", "rating"), Pair("High rating", "rating"),
Pair("Last updated", "uploaded"), Pair("Last updated", "uploaded"),
Pair("Newest", "created_at"),
) )