Skip to content

Commit

Permalink
fully removed serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
nin0-dev committed Aug 28, 2024
1 parent 3712309 commit f96e896
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/src/main/java/com/nin0dev/vendroid/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -40,7 +35,6 @@ class MainActivity : Activity() {
@JvmField
var filePathCallback: ValueCallback<Array<Uri?>?>? = null

@OptIn(ExperimentalSerializationApi::class)
fun checkUpdates(ignoreSetting: Boolean = false)
{
val sPrefs = getSharedPreferences("settings", Context.MODE_PRIVATE)
Expand Down

0 comments on commit f96e896

Please sign in to comment.