From f96e896c38dd06b1cdb2de3e999af9725b09d824 Mon Sep 17 00:00:00 2001 From: nin0dev Date: Wed, 28 Aug 2024 16:14:57 -0400 Subject: [PATCH] fully removed serialization --- app/src/main/java/com/nin0dev/vendroid/MainActivity.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt b/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt index b66c3f6..f96c3ff 100644 --- a/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt +++ b/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt @@ -23,15 +23,10 @@ import com.google.android.material.dialog.MaterialAlertDialogBuilder import com.google.gson.Gson import com.nin0dev.vendroid.HttpClient.fetchVencord import com.nin0dev.vendroid.Logger.e -import kotlinx.serialization.ExperimentalSerializationApi -import kotlinx.serialization.Serializable -import kotlinx.serialization.decodeFromString -import kotlinx.serialization.json.Json import pl.droidsonroids.gif.GifImageView import java.io.IOException -@Serializable data class UpdateData(val version: Int, val changelog: String) class MainActivity : Activity() { @@ -40,7 +35,6 @@ class MainActivity : Activity() { @JvmField var filePathCallback: ValueCallback?>? = null - @OptIn(ExperimentalSerializationApi::class) fun checkUpdates(ignoreSetting: Boolean = false) { val sPrefs = getSharedPreferences("settings", Context.MODE_PRIVATE)