Move ezmanga to keyoapp theme (#2159)

This commit is contained in:
Secozzi 2024-03-30 11:55:29 +00:00 committed by Draff
parent 06b5579243
commit 6b63da2979
2 changed files with 6 additions and 13 deletions

View File

@ -1,9 +1,9 @@
ext { ext {
extName = 'EZmanga' extName = 'EZmanga'
extClass = '.EZmanga' extClass = '.EZmanga'
themePkg = 'madara' themePkg = 'keyoapp'
baseUrl = 'https://ezmanga.net' baseUrl = 'https://ezmanga.net'
overrideVersionCode = 0 overrideVersionCode = 34
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -1,19 +1,12 @@
package eu.kanade.tachiyomi.extension.en.ezmanga package eu.kanade.tachiyomi.extension.en.ezmanga
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.keyoapp.Keyoapp
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import java.text.SimpleDateFormat
import java.util.Locale
class EZmanga : Madara( class EZmanga : Keyoapp(
"EZmanga", "EZmanga",
"https://ezmanga.net", "https://ezmanga.net",
"en", "en",
dateFormat = SimpleDateFormat("MM/dd/yyyy", Locale.ENGLISH),
) { ) {
override val useNewChapterEndpoint = true // Migrated from Madara to Keyoapp
override val versionId = 2
override val client = super.client.newBuilder()
.rateLimit(1)
.build()
} }