Add Nsfw flag to Bato.to (#5452)
* Add Nsfw flag * Added NSFW annotations to Factory
This commit is contained in:
parent
812170038e
commit
68ecf6a1d1
|
@ -7,6 +7,7 @@ ext {
|
|||
extClass = '.BatoToFactory'
|
||||
extVersionCode = 3
|
||||
libVersion = '1.2'
|
||||
containsNsfw = true
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -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) }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue