From ab00c7ac71d8550a172bd6da890ca906e935737e Mon Sep 17 00:00:00 2001 From: robert-costello Date: Fri, 29 Sep 2023 12:09:13 -0400 Subject: [PATCH] add clickable-icon display format --- src/main/java/org/commcare/suite/model/Style.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/commcare/suite/model/Style.java b/src/main/java/org/commcare/suite/model/Style.java index 7f30fcddb..a53eb67c4 100644 --- a/src/main/java/org/commcare/suite/model/Style.java +++ b/src/main/java/org/commcare/suite/model/Style.java @@ -46,6 +46,7 @@ enum DisplayFormat { Graph, Phone, Markdown, + ClickableIcon, } public DisplayFormat getDisplayFormat() { @@ -99,6 +100,9 @@ private void setDisplayFormatFromString(String displayFormat){ case "markdown": setDisplayFormat(DisplayFormat.Markdown); break; + case "clickable-icon": + setDisplayFormat(DisplayFormat.ClickableIcon); + break; } }