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

@@ -253,6 +253,7 @@ public class EntityFolder implements Serializable {
public JSONObject toJSON() throws JSONException {
JSONObject json = new JSONObject();
json.put("id", id);
json.put("name", name);
json.put("type", type);
json.put("level", level);
@@ -270,6 +271,7 @@ public class EntityFolder implements Serializable {
public static EntityFolder fromJSON(JSONObject json) throws JSONException {
EntityFolder folder = new EntityFolder();
folder.id = json.getLong("id");
folder.name = json.getString("name");
folder.type = json.getString("type");