parent
631dcaa1f1
commit
9674b68572
|
@ -22,7 +22,7 @@ cloudstream {
|
|||
* */
|
||||
status = 1
|
||||
|
||||
tvTypes = listOf("NSFW")
|
||||
tvTypes = listOf("Movie")
|
||||
|
||||
requiresResources = true
|
||||
language = "en"
|
||||
|
|
|
@ -18,7 +18,7 @@ class TestPlugin: Plugin() {
|
|||
|
||||
openSettings = { ctx ->
|
||||
val frag = BlankFragment(this)
|
||||
frag.show(activity!!.supportFragmentManager, "sexFrag")
|
||||
frag.show(activity!!.supportFragmentManager, "Frag")
|
||||
}
|
||||
}
|
||||
}
|
|
@ -7,8 +7,8 @@ import com.lagradost.cloudstream3.SearchResponse
|
|||
|
||||
class ExampleProvider(val plugin: TestPlugin) : MainAPI() { // all providers must be an intstance of MainAPI
|
||||
override var mainUrl = "https://example.com/"
|
||||
override var name = "Example sex provider"
|
||||
override val supportedTypes = setOf(TvType.NSFW)
|
||||
override var name = "Example provider"
|
||||
override val supportedTypes = setOf(TvType.Movie)
|
||||
|
||||
override var lang = "en"
|
||||
|
||||
|
|
Loading…
Reference in New Issue