Skip to content

Commit

Permalink
Merge pull request #1335 from dimagi/riese/clickable_ui
Browse files Browse the repository at this point in the history
Clickable Icon UI
  • Loading branch information
shubham1g5 authored Sep 29, 2023
2 parents b03e620 + 7055c59 commit 07e952e
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 @@ -41,6 +41,7 @@ enum DisplayFormat {
Graph,
Phone,
Markdown,
ClickableIcon,
}

public DisplayFormat getDisplayFormat() {
Expand Down Expand Up @@ -94,6 +95,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 07e952e

Please sign in to comment.