mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Update notes for building under iOS (#238)
This commit is contained in:
parent
0090443495
commit
d69ffc8de0
5 changed files with 25 additions and 16 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue