Skip to content

Commit

Permalink
fix: 插件onInit 应该 suspend
Browse files Browse the repository at this point in the history
  • Loading branch information
muedsa committed Oct 25, 2024
1 parent 07b8411 commit 448fa24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/com/muedsa/tvbox/api/plugin/IPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.muedsa.tvbox.api.service.IMediaSearchService
abstract class IPlugin(var tvBoxContext: TvBoxContext) {
abstract var options: PluginOptions

abstract fun onInit()
abstract suspend fun onInit()

abstract fun provideMainScreenService(): IMainScreenService

Expand Down

0 comments on commit 448fa24

Please sign in to comment.