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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}