From cb12c76ee6534a00c1e35e5c4eba5d11e8c49e83 Mon Sep 17 00:00:00 2001 From: Arjix <53124886+ArjixWasTaken@users.noreply.github.com> Date: Tue, 17 Aug 2021 15:22:51 +0300 Subject: [PATCH] changed json property prerelease to val --- .../java/com/lagradost/cloudstream3/utils/InAppUpdater.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/utils/InAppUpdater.kt b/app/src/main/java/com/lagradost/cloudstream3/utils/InAppUpdater.kt index 98544376..42daa043 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/utils/InAppUpdater.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/utils/InAppUpdater.kt @@ -38,7 +38,7 @@ class InAppUpdater { @JsonProperty("body") val body: String, // Desc @JsonProperty("assets") val assets: List, @JsonProperty("target_commitish") val target_commitish: String, // branch - @JsonProperty("prerelease") var prerelease: Boolean, + @JsonProperty("prerelease") val prerelease: Boolean, ) data class Update( @@ -283,4 +283,4 @@ class InAppUpdater { return false } } -} \ No newline at end of file +}