mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 18:25:26 +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:
@ -211,7 +211,7 @@ class _LocationDisplayState extends RefreshableState<LocationDisplayWidget> {
|
||||
ListTile(
|
||||
title: Text("${location!.name}"),
|
||||
subtitle: Text("${location!.description}"),
|
||||
leading: FaIcon(FontAwesomeIcons.boxes),
|
||||
leading: location!.customIcon ?? FaIcon(FontAwesomeIcons.boxes),
|
||||
),
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user