fully removed serialization
This commit is contained in:
parent
3712309767
commit
f96e896c38
1 changed files with 0 additions and 6 deletions
|
@ -23,15 +23,10 @@ import com.google.android.material.dialog.MaterialAlertDialogBuilder
|
||||||
import com.google.gson.Gson
|
import com.google.gson.Gson
|
||||||
import com.nin0dev.vendroid.HttpClient.fetchVencord
|
import com.nin0dev.vendroid.HttpClient.fetchVencord
|
||||||
import com.nin0dev.vendroid.Logger.e
|
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 pl.droidsonroids.gif.GifImageView
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
|
|
||||||
|
|
||||||
@Serializable
|
|
||||||
data class UpdateData(val version: Int, val changelog: String)
|
data class UpdateData(val version: Int, val changelog: String)
|
||||||
|
|
||||||
class MainActivity : Activity() {
|
class MainActivity : Activity() {
|
||||||
|
@ -40,7 +35,6 @@ class MainActivity : Activity() {
|
||||||
@JvmField
|
@JvmField
|
||||||
var filePathCallback: ValueCallback<Array<Uri?>?>? = null
|
var filePathCallback: ValueCallback<Array<Uri?>?>? = null
|
||||||
|
|
||||||
@OptIn(ExperimentalSerializationApi::class)
|
|
||||||
fun checkUpdates(ignoreSetting: Boolean = false)
|
fun checkUpdates(ignoreSetting: Boolean = false)
|
||||||
{
|
{
|
||||||
val sPrefs = getSharedPreferences("settings", Context.MODE_PRIVATE)
|
val sPrefs = getSharedPreferences("settings", Context.MODE_PRIVATE)
|
||||||
|
|
Loading…
Reference in a new issue