From 8863cdf57c83fa508c9c17bab7836233da8259b2 Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Tue, 9 Aug 2022 14:19:25 +0200 Subject: [PATCH] update to recloudstream/cloudstream@bceeec8 --- ExampleProvider/src/main/kotlin/com/example/ExamplePlugin.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ExampleProvider/src/main/kotlin/com/example/ExamplePlugin.kt b/ExampleProvider/src/main/kotlin/com/example/ExamplePlugin.kt index 598dd70..8ddce48 100644 --- a/ExampleProvider/src/main/kotlin/com/example/ExamplePlugin.kt +++ b/ExampleProvider/src/main/kotlin/com/example/ExamplePlugin.kt @@ -2,13 +2,12 @@ package com.example import com.lagradost.cloudstream3.plugins.CloudstreamPlugin import com.lagradost.cloudstream3.plugins.Plugin -import com.lagradost.cloudstream3.APIHolder import android.content.Context @CloudstreamPlugin class TestPlugin: Plugin() { override fun load(context: Context) { - // All providers should be added in this manner - APIHolder.allProviders.add(ExampleProvider()) + // All providers should be added in this manner. Please don't edit the providers list directly. + registerMainAPI(ExampleProvider()) } } \ No newline at end of file