Skip to content

Commit

Permalink
When resolving a brand icon, use FontAwesomeBrand. #17
Browse files Browse the repository at this point in the history
I haven't tested this change as I haven't managed to build ikonli on my own computer yet.
  • Loading branch information
pupeno authored Jan 3, 2018
1 parent 3cf8822 commit a1c0d7a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public boolean supports(String description) {

@Override
public Ikon resolve(String description) {
return FontAwesomeRegular.findByDescription(description);
return FontAwesomeBrands.findByDescription(description);
}

@Override
Expand All @@ -44,4 +44,4 @@ public String getFontResourcePath() {
public String getFontFamily() {
return "Font Awesome 5 Brands";
}
}
}

0 comments on commit a1c0d7a

Please sign in to comment.