mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-19 20:29:02 +00:00
fix quest parsing
This commit is contained in:
parent
12002b47cf
commit
eccd435af7
1 changed files with 1 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ class ContentDeserializer : JsonDeserializer<ContentResult> {
|
|||
result.quests = RealmList()
|
||||
for (entry in obj.get("quests").asJsonObject.entrySet()) {
|
||||
result.quests.add(context.deserialize(entry.value, QuestContent::class.java))
|
||||
result.quests.forEach { it.key = it.key }
|
||||
}
|
||||
result.eggs = RealmList()
|
||||
for (entry in obj.get("eggs").asJsonObject.entrySet()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue