Skip to content

Commit

Permalink
📝 correct document
Browse files Browse the repository at this point in the history
  • Loading branch information
stars-one committed Apr 2, 2020
1 parent 3fbe092 commit cc5cd66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ like this:

```
//want to get a icon by icon name
val icon = MaterialDesignIconTextFactory.getIcon("account")
val icon = MaterialDesignIconTextFactory.getIconText("account")
//want to get icons with a list saving more icon name
val dataList = arraylistof("account","close")
Expand Down
2 changes: 1 addition & 1 deletion readme_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ iconText.setSize("20px");

```
//通过图标名获得一个图标
val icon = MaterialDesignIconTextFactory.getIcon("account")
val icon = MaterialDesignIconTextFactory.getIconText("account")
//通过一个存有多个图标名的List来获得多个图标
val dataList = arraylistof("account","close")
Expand Down

0 comments on commit cc5cd66

Please sign in to comment.