2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-15 03:35:28 +00:00

Adds pre-generated file for mapping icon names to icon hex values (#235)

* Adds pre-generated file for mapping icon names to icon hex values

* Remove unused import

* Simple method for converting icon string into useable data

* Add rendering for category list and location list

* Add custom icons to detail views

* Updated release notes
This commit is contained in:
Oliver
2022-12-18 00:06:11 +11:00
committed by GitHub
parent 8639ccf79e
commit f339ac249b
7 changed files with 1530 additions and 2 deletions

View File

@ -114,6 +114,7 @@ class _CategoryDisplayState extends RefreshableState<CategoryDisplayWidget> {
style: TextStyle(fontWeight: FontWeight.bold)
),
subtitle: Text("${category?.description}"),
leading: category!.customIcon ?? FaIcon(FontAwesomeIcons.sitemap),
),
];