Skip to content

Commit

Permalink
Clickable icon UI
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinRiese committed Sep 22, 2023
1 parent fe9fea0 commit 7055c59
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 7055c59

Please sign in to comment.