add language entry

This commit is contained in:
Cloudburst 2022-08-17 13:58:43 +02:00 committed by GitHub
parent 7b7ba11001
commit 19b0a066d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -45,6 +45,7 @@ abstract class CloudstreamExtension @Inject constructor(project: Project) {
var language: String? = null var language: String? = null
var tvTypes: List<String>? = null var tvTypes: List<String>? = null
var iconUrl: String? = null var iconUrl: String? = null
var language: String? = null
} }
class ApkInfo(extension: CloudstreamExtension, release: String) { class ApkInfo(extension: CloudstreamExtension, release: String) {

View file

@ -47,6 +47,7 @@ fun Project.makePluginEntry(): PluginEntry {
language = extension.language, language = extension.language,
iconUrl = extension.iconUrl, iconUrl = extension.iconUrl,
apiVersion = extension.apiVersion, apiVersion = extension.apiVersion,
language = extension.language,
tvTypes = extension.tvTypes tvTypes = extension.tvTypes
) )
} }

View file

@ -12,5 +12,6 @@ data class PluginEntry(
val language: String?, val language: String?,
val tvTypes: List<String>?, val tvTypes: List<String>?,
val iconUrl: String?, val iconUrl: String?,
val language: String?,
val apiVersion: Int val apiVersion: Int
) )