Skip to content

Commit

Permalink
remove perveden, add exh icon
Browse files Browse the repository at this point in the history
  • Loading branch information
az4521 committed Feb 17, 2024
1 parent 5680c9f commit 9314c74
Show file tree
Hide file tree
Showing 26 changed files with 3 additions and 538 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 16,7 @@ https://discord.gg/mihon
### dead source removal delegation
- [x] remove hbrowse (dead)
- [ ] remove perveden (dead)
- [x] remove perveden (dead)
- [ ] delegate 8muses
- [ ] delegate hitomi
### fix
Expand Down
10 changes: 0 additions & 10 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -266,16 266,6 @@
android:pathPrefix="/g/"
android:scheme="https" />

<!-- Perv Eden -->
<data
android:host="www.perveden.com"
android:pathPattern="/.*/.*-manga/.*"
android:scheme="http" />
<data
android:host="www.perveden.com"
android:pathPattern="/.*/.*-manga/.*"
android:scheme="https" />

<!-- Hentai Cafe -->
<data
android:host="hentai.cafe"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 23,6 @@ import exh.EXH_SOURCE_ID
import exh.HITOMI_SOURCE_ID
import exh.MERGED_SOURCE_ID
import exh.NHENTAI_SOURCE_ID
import exh.PERV_EDEN_EN_SOURCE_ID
import exh.PERV_EDEN_IT_SOURCE_ID
import exh.source.BlacklistedSources
import kotlinx.coroutines.async
import rx.Observable
Expand Down Expand Up @@ -80,9 78,7 @@ class ExtensionManager(

return when (source.id) {
EH_SOURCE_ID -> context.getDrawable(R.mipmap.ic_ehentai_source)
EXH_SOURCE_ID -> context.getDrawable(R.mipmap.ic_ehentai_source)
PERV_EDEN_EN_SOURCE_ID -> context.getDrawable(R.mipmap.ic_perveden_source)
PERV_EDEN_IT_SOURCE_ID -> context.getDrawable(R.mipmap.ic_perveden_source)
EXH_SOURCE_ID -> context.getDrawable(R.mipmap.ic_exhentai_source)
NHENTAI_SOURCE_ID -> context.getDrawable(R.mipmap.ic_nhentai_source)
HITOMI_SOURCE_ID -> context.getDrawable(R.mipmap.ic_hitomi_source)
EIGHTMUSES_SOURCE_ID -> context.getDrawable(R.mipmap.ic_8muses_source)
Expand Down
6 changes: 0 additions & 6 deletions app/src/main/java/eu/kanade/tachiyomi/source/SourceManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 13,12 @@ import eu.kanade.tachiyomi.source.online.all.EHentai
import eu.kanade.tachiyomi.source.online.all.Hitomi
import eu.kanade.tachiyomi.source.online.all.MergedSource
import eu.kanade.tachiyomi.source.online.all.NHentai
import eu.kanade.tachiyomi.source.online.all.PervEden
import eu.kanade.tachiyomi.source.online.english.EightMuses
import eu.kanade.tachiyomi.source.online.english.HentaiCafe
import eu.kanade.tachiyomi.source.online.english.Pururin
import eu.kanade.tachiyomi.source.online.english.Tsumino
import exh.EH_SOURCE_ID
import exh.EXH_SOURCE_ID
import exh.PERV_EDEN_EN_SOURCE_ID
import exh.PERV_EDEN_IT_SOURCE_ID
import exh.metadata.metadata.PervEdenLang
import exh.source.BlacklistedSources
import exh.source.DelegatedHttpSource
import exh.source.EnhancedHttpSource
Expand Down Expand Up @@ -119,8 115,6 @@ open class SourceManager(private val context: Context) {
if (prefs.enableExhentai().get()) {
exSrcs = EHentai(EXH_SOURCE_ID, true, context)
}
exSrcs = PervEden(PERV_EDEN_EN_SOURCE_ID, PervEdenLang.en)
exSrcs = PervEden(PERV_EDEN_IT_SOURCE_ID, PervEdenLang.it)
exSrcs = NHentai(context)
exSrcs = Hitomi()
exSrcs = EightMuses()
Expand Down
Loading

0 comments on commit 9314c74

Please sign in to comment.