Fix crash

This commit is contained in:
Victor Shcherb 2020-03-22 23:36:45 +01:00
parent 042a2f56cd
commit e6f4d8de2a

View file

@ -983,6 +983,7 @@ public class SettingsHelper {
jsonObject.put("name", action.hasCustomName(app)
? action.getName(app) : "");
jsonObject.put("type", action.getType());
jsonObject.put("actionType", action.getActionType().getStringId());
jsonObject.put("params", gson.toJson(action.getParams(), type));
jsonArray.put(jsonObject);
}