Add Nsfw flag to Bato.to (#5452)

* Add Nsfw flag

* Added NSFW annotations to Factory
This commit is contained in:
Johannes Joens 2021-01-17 06:33:22 +13:00 committed by GitHub
parent 812170038e
commit 68ecf6a1d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ ext {
extClass = '.BatoToFactory'
extVersionCode = 3
libVersion = '1.2'
containsNsfw = true
}
apply from: "$rootDir/common.gradle"

View File

@ -1,8 +1,10 @@
package eu.kanade.tachiyomi.extension.all.batoto
import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.source.Source
import eu.kanade.tachiyomi.source.SourceFactory
@Nsfw
class BatoToFactory : SourceFactory {
override fun createSources(): List<Source> = languages.map { BatoTo(it.first, it.second) }
}