From 378d9ed6d9a23c0670bd855eb7e36beba7d759e6 Mon Sep 17 00:00:00 2001 From: sneazy-ibo <41344259+sneazy-ibo@users.noreply.github.com> Date: Sun, 24 Mar 2024 02:11:10 +0100 Subject: [PATCH] fix: countryOfOrigin query and gradle --- app/build.gradle | 2 +- .../java/ani/dantotsu/connections/anilist/AnilistQueries.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index a95c9e55..2dc35834 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -126,7 +126,7 @@ dependencies { implementation 'com.github.VipulOG:ebook-reader:0.1.6' implementation 'androidx.paging:paging-runtime-ktx:3.2.1' implementation 'com.github.eltos:simpledialogfragments:v3.7' - implementation 'com.github.AAChartModel:AAChartCore-Kotlin:-SNAPSHOT' + implementation 'com.github.AAChartModel:AAChartCore-Kotlin:93972bc' // Markwon ext.markwon_version = '4.6.2' diff --git a/app/src/main/java/ani/dantotsu/connections/anilist/AnilistQueries.kt b/app/src/main/java/ani/dantotsu/connections/anilist/AnilistQueries.kt index b619ed17..2fd1d0bf 100644 --- a/app/src/main/java/ani/dantotsu/connections/anilist/AnilistQueries.kt +++ b/app/src/main/java/ani/dantotsu/connections/anilist/AnilistQueries.kt @@ -948,7 +948,7 @@ query (${"$"}page: Int = 1, ${"$"}id: Int, ${"$"}type: MediaType, ${"$"}isAdult: ${if (sort != null) ""","sort":"$sort"""" else ""} ${if (status != null) ""","status":"$status"""" else ""} ${if (format != null) ""","format":"${format.replace(" ", "_")}"""" else ""} - ${if (countryOfOrigin != null) ""","sort":"$sort"""" else ""} + ${if (countryOfOrigin != null) ""","countryOfOrigin":"$countryOfOrigin"""" else ""} ${if (genres?.isNotEmpty() == true) ""","genres":[${genres.joinToString { "\"$it\"" }}]""" else ""} ${ if (excludedGenres?.isNotEmpty() == true)