Fix crash
This commit is contained in:
parent
042a2f56cd
commit
e6f4d8de2a
1 changed files with 1 additions and 0 deletions
|
@ -983,6 +983,7 @@ public class SettingsHelper {
|
||||||
jsonObject.put("name", action.hasCustomName(app)
|
jsonObject.put("name", action.hasCustomName(app)
|
||||||
? action.getName(app) : "");
|
? action.getName(app) : "");
|
||||||
jsonObject.put("type", action.getType());
|
jsonObject.put("type", action.getType());
|
||||||
|
jsonObject.put("actionType", action.getActionType().getStringId());
|
||||||
jsonObject.put("params", gson.toJson(action.getParams(), type));
|
jsonObject.put("params", gson.toJson(action.getParams(), type));
|
||||||
jsonArray.put(jsonObject);
|
jsonArray.put(jsonObject);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue