Export/import snippet indication

This commit is contained in:
M66B 2022-03-14 10:46:41 +01:00
parent d424cd752a
commit e99633b742
1 changed files with 2 additions and 0 deletions

View File

@ -372,6 +372,7 @@ public class EntityAnswer implements Serializable {
json.put("standard", standard);
json.put("receipt", receipt);
json.put("favorite", favorite);
json.put("snippet", snippet);
json.put("hide", hide);
json.put("external", external);
json.put("color", color);
@ -391,6 +392,7 @@ public class EntityAnswer implements Serializable {
answer.standard = json.optBoolean("standard");
answer.receipt = json.optBoolean("receipt");
answer.favorite = json.optBoolean("favorite");
answer.snippet = json.optBoolean("snippet");
answer.hide = json.optBoolean("hide");
answer.external = json.optBoolean("external");
if (json.has("color") && !json.isNull("color"))