Updates icons to match original Lyra
Adds a unique icon for firmware bins in the file browser
This commit is contained in:
@@ -196,6 +196,9 @@ UIIcon UITheme::getFileIcon(const std::string& filename) {
|
||||
if (FsHelpers::hasBmpExtension(filename)) {
|
||||
return Image;
|
||||
}
|
||||
if (FsHelpers::checkFileExtension(filename, ".bin")) {
|
||||
return Firmware;
|
||||
}
|
||||
return File;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user