Skip to content

Commit

Permalink
Fix icon credits
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Dec 14, 2024
1 parent a0853dd commit 75135ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion assets/credits.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Thanks to the following contributors, for their work building this app!

The InvenTree App makes use of the following third party assets

- Icons are provided by [fontawesome](https://fontawesome.com)
- Icons are provided by [tabler.io](https://tabler.io/icons)
- Sound files have been sourced from [zapsplat](https://www.zapsplat.com)

--------
8 changes: 1 addition & 7 deletions lib/inventree/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,7 @@ class InvenTreeModel {

/*
* Attempt to extract a custom icon for this model.
* If icon data is provided, attempt to convert to a FontAwesome icon
*
* Icon data *should* be presented something like "fas fa-boxes" / "fab fa-github" (etc):
*
* - First part specifies the *style*
* - Second part specifies the icon
*
* If icon data is provided, attempt to convert to a TablerIcon icon
*/
IconData? get customIcon {
String icon = (jsondata["icon"] ?? "").toString().trim();
Expand Down

0 comments on commit 75135ae

Please sign in to comment.