mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
Fix handling for when tags object is an array
This commit is contained in:
parent
5910c3f532
commit
77380b46c1
1 changed files with 9 additions and 0 deletions
|
|
@ -50,6 +50,15 @@ public class TagsAdapter extends TypeAdapter<Tags>{
|
|||
case END_OBJECT:
|
||||
in.endObject();
|
||||
isClosed=true;
|
||||
break;
|
||||
case BEGIN_ARRAY:
|
||||
in.beginArray();
|
||||
break;
|
||||
|
||||
case END_ARRAY:
|
||||
in.endArray();
|
||||
isClosed = true;
|
||||
break;
|
||||
default:
|
||||
}
|
||||
} while(!isClosed);
|
||||
|
|
|
|||
Loading…
Reference in a new issue