From 0c5f223acb0c0dbf51763dc2b8556ecd86fd69f1 Mon Sep 17 00:00:00 2001 From: LagradOst <11805592+LagradOst@users.noreply.github.com> Date: Sun, 3 Apr 2022 19:16:55 +0200 Subject: [PATCH] bump --- app/build.gradle | 2 +- .../cloudstream3/syncproviders/providers/AniListApi.kt | 4 +++- .../lagradost/cloudstream3/syncproviders/providers/MALApi.kt | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) 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()