Skip to content

Commit

Permalink
add clickable-icon display format
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Costello committed Sep 29, 2023
1 parent 540cb67 commit ab00c7a
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 ab00c7a

Please sign in to comment.