Commit 649836cf authored by Max Lv's avatar Max Lv

Clean up

parent 3b05935f
...@@ -183,7 +183,6 @@ data class Profile( ...@@ -183,7 +183,6 @@ data class Profile(
?: individual ?: individual
// JSONArray will return strings with "", which should be removed // JSONArray will return strings with "", which should be removed
individual = individual.replace("\"", "") individual = individual.replace("\"", "")
} }
udpdns = json["udpdns"].optBoolean ?: udpdns udpdns = json["udpdns"].optBoolean ?: udpdns
(json["udp_fallback"] as? JsonObject)?.let { tryParse(it, true) }?.also { fallbackMap[this] = it } (json["udp_fallback"] as? JsonObject)?.let { tryParse(it, true) }?.also { fallbackMap[this] = it }
......
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