Unverified Commit 73fa7c97 authored by Mygod's avatar Mygod Committed by GitHub

Fix missing Serializable declaration

parent 9d2bc2d6
......@@ -31,6 +31,7 @@ import org.json.JSONArray
import timber.log.Timber
import java.io.IOException
import java.io.InputStream
import java.io.Serializable
import java.sql.SQLException
/**
......@@ -46,7 +47,7 @@ object ProfileManager {
}
var listener: Listener? = null
data class ExpandedProfile(val main: Profile, val udpFallback: Profile?) {
data class ExpandedProfile(val main: Profile, val udpFallback: Profile?) : Serializable {
fun toList() = listOfNotNull(main, udpFallback)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment