diff --git a/src/pt/animestc/AndroidManifest.xml b/src/pt/animestc/AndroidManifest.xml
index 14e02257c5..e826c52050 100644
--- a/src/pt/animestc/AndroidManifest.xml
+++ b/src/pt/animestc/AndroidManifest.xml
@@ -14,7 +14,7 @@
diff --git a/src/pt/animestc/build.gradle b/src/pt/animestc/build.gradle
index 4891df1c7d..074cd054a3 100644
--- a/src/pt/animestc/build.gradle
+++ b/src/pt/animestc/build.gradle
@@ -1,7 +1,7 @@
ext {
extName = 'AnimesTC'
extClass = '.AnimesTC'
- extVersionCode = 4
+ extVersionCode = 5
}
apply from: "$rootDir/common.gradle"
diff --git a/src/pt/animestc/src/eu/kanade/tachiyomi/animeextension/pt/animestc/AnimesTC.kt b/src/pt/animestc/src/eu/kanade/tachiyomi/animeextension/pt/animestc/AnimesTC.kt
index d94a8e5223..96a5c3836b 100644
--- a/src/pt/animestc/src/eu/kanade/tachiyomi/animeextension/pt/animestc/AnimesTC.kt
+++ b/src/pt/animestc/src/eu/kanade/tachiyomi/animeextension/pt/animestc/AnimesTC.kt
@@ -251,12 +251,12 @@ class AnimesTC : ConfigurableAnimeSource, AnimeHttpSource() {
// ============================= Utilities ==============================
private fun Response.getAnimeDto(): AnimeDto {
- val responseBody = use { it.body.string() }
+ val jsonString = body.string()
return try {
- parseAs { responseBody }
+ jsonString.parseAs()
} catch (e: Exception) {
// URL intent handler moment
- parseAs> { responseBody }.items.first()
+ jsonString.parseAs>().items.first()
}
}