2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 18:25:26 +00:00

Update notes for building under iOS (#238)

This commit is contained in:
Oliver
2022-12-21 23:00:10 +11:00
committed by GitHub
parent 0090443495
commit d69ffc8de0
5 changed files with 25 additions and 16 deletions

View File

@ -182,10 +182,10 @@ class InvenTreeModel {
name = name.substring(3);
}
int? iconHex = fontAwesomeIconMap[name];
int iconHex = fontAwesomeIconMap[name] ?? 0;
// No match for the icon name
if (iconHex == null) {
if (iconHex == 0) {
return null;
}