Fixed importing swipe left/right target

This commit is contained in:
M66B
2019-02-07 08:29:39 +00:00
parent c0f45d34d9
commit 99732b22c3
6 changed files with 29 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ public class EntityIdentity {
public JSONObject toJSON() throws JSONException {
JSONObject json = new JSONObject();
json.put("id", id);
json.put("name", name);
json.put("email", email);
json.put("display", display);
@@ -122,6 +123,7 @@ public class EntityIdentity {
public static EntityIdentity fromJSON(JSONObject json) throws JSONException {
EntityIdentity identity = new EntityIdentity();
// id
identity.name = json.getString("name");
identity.email = json.getString("email");
if (json.has("display"))