Skip to content

Commit

Permalink
Merge pull request #1340 from dimagi/rc/clickable-icons-ui
Browse files Browse the repository at this point in the history
add clickable-icon display format
  • Loading branch information
Robert-Costello authored Sep 29, 2023
2 parents 540cb67 + ab00c7a commit 7e44fda
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/commcare/suite/model/Style.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ enum DisplayFormat {
Graph,
Phone,
Markdown,
ClickableIcon,
}

public DisplayFormat getDisplayFormat() {
Expand Down Expand Up @@ -99,6 +100,9 @@ private void setDisplayFormatFromString(String displayFormat){
case "markdown":
setDisplayFormat(DisplayFormat.Markdown);
break;
case "clickable-icon":
setDisplayFormat(DisplayFormat.ClickableIcon);
break;
}
}

Expand Down

0 comments on commit 7e44fda

Please sign in to comment.