diff --git a/app/build.gradle b/app/build.gradle index 32b89a93..8be4709c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -36,7 +36,7 @@ android { targetSdkVersion 30 versionCode 45 - versionName "2.8.16" + versionName "2.9.16" resValue "string", "app_version", "${defaultConfig.versionName}${versionNameSuffix ?: ""}" diff --git a/app/src/main/java/com/lagradost/cloudstream3/syncproviders/providers/AniListApi.kt b/app/src/main/java/com/lagradost/cloudstream3/syncproviders/providers/AniListApi.kt index 803ac5f8..89a939f5 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/syncproviders/providers/AniListApi.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/syncproviders/providers/AniListApi.kt @@ -123,7 +123,9 @@ class AniListApi(index: Int) : AccountManager(index), SyncAPI { ) } ) - } + }, + publicScore = season.averageScore?.times(100), + //recommendations = season. //TODO REST ) } diff --git a/app/src/main/java/com/lagradost/cloudstream3/syncproviders/providers/MALApi.kt b/app/src/main/java/com/lagradost/cloudstream3/syncproviders/providers/MALApi.kt index 7f810780..cf733def 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/syncproviders/providers/MALApi.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/syncproviders/providers/MALApi.kt @@ -265,7 +265,7 @@ class MALApi(index: Int) : AccountManager(index), SyncAPI { ) ).text - if (!res.isNullOrBlank()) { + if (res.isNotBlank()) { switchToNewAccount() storeToken(res) val user = getMalUser()