Skip to content

Commit 9674b68

Browse files
int3debugint3debug
andauthored
refact: remove NSFW for confusion (#7)
Co-authored-by: int3debug <gh.ditch236@passinbox.com>
1 parent 631dcaa commit 9674b68

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

ExampleProvider/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cloudstream {
2222
* */
2323
status = 1
2424

25-
tvTypes = listOf("NSFW")
25+
tvTypes = listOf("Movie")
2626

2727
requiresResources = true
2828
language = "en"

ExampleProvider/src/main/kotlin/com/example/ExamplePlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class TestPlugin: Plugin() {
1818

1919
openSettings = { ctx ->
2020
val frag = BlankFragment(this)
21-
frag.show(activity!!.supportFragmentManager, "sexFrag")
21+
frag.show(activity!!.supportFragmentManager, "Frag")
2222
}
2323
}
2424
}

ExampleProvider/src/main/kotlin/com/example/ExampleProvider.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import com.lagradost.cloudstream3.SearchResponse
77

88
class ExampleProvider(val plugin: TestPlugin) : MainAPI() { // all providers must be an intstance of MainAPI
99
override var mainUrl = "https://example.com/"
10-
override var name = "Example sex provider"
11-
override val supportedTypes = setOf(TvType.NSFW)
10+
override var name = "Example provider"
11+
override val supportedTypes = setOf(TvType.Movie)
1212

1313
override var lang = "en"
1414

0 commit comments

Comments
 (0)