Correction of /fonts hiding code

/fonts should be properly hidden now, instead of being the only folder shown in the file browser
This commit is contained in:
bean 2026-01-26 15:09:53 -05:00
parent 3c9875d3f9
commit 91d73c939c

View File

@ -110,7 +110,7 @@ void MyLibraryActivity::loadFiles() {
char name[500];
for (auto file = root.openNextFile(); file; file = root.openNextFile()) {
file.getName(name, sizeof(name));
if (name[0] == '.' || strcmp(name, "System Volume Information") == 0 || strcmp(name, "fonts")) {
if (name[0] == '.' || strcmp(name, "System Volume Information") == 0 || strcmp(name, "fonts") == 0) {
file.close();
continue;
}