Maid Manga: Fix swapped popular and update (#3602)

This commit is contained in:
Rama Bondan Prakoso 2020-06-24 00:38:17 +00:00 committed by GitHub
parent 0227ab41a8
commit 9ab357103d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Maid - Manga' appName = 'Tachiyomi: Maid - Manga'
pkgNameSuffix = 'id.maidmanga' pkgNameSuffix = 'id.maidmanga'
extClass = '.MaidManga' extClass = '.MaidManga'
extVersionCode = 4 extVersionCode = 5
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -32,7 +32,7 @@ class MaidManga : ParsedHttpSource() {
override fun latestUpdatesSelector() = searchMangaSelector() override fun latestUpdatesSelector() = searchMangaSelector()
override fun latestUpdatesRequest(page: Int): Request { override fun latestUpdatesRequest(page: Int): Request {
return GET("$baseUrl/advanced-search/${pagePathSegment(page)}?order=popular") return GET("$baseUrl/advanced-search/${pagePathSegment(page)}?order=update")
} }
override fun latestUpdatesFromElement(element: Element): SManga = searchMangaFromElement(element) override fun latestUpdatesFromElement(element: Element): SManga = searchMangaFromElement(element)
@ -40,7 +40,7 @@ class MaidManga : ParsedHttpSource() {
override fun latestUpdatesNextPageSelector() = searchMangaNextPageSelector() override fun latestUpdatesNextPageSelector() = searchMangaNextPageSelector()
override fun popularMangaRequest(page: Int): Request { override fun popularMangaRequest(page: Int): Request {
return GET("$baseUrl/advanced-search/${pagePathSegment(page)}?order=update") return GET("$baseUrl/advanced-search/${pagePathSegment(page)}?order=popular")
} }
override fun popularMangaSelector() = searchMangaSelector() override fun popularMangaSelector() = searchMangaSelector()