Hide "System Volume Information" folder (#184)
## Summary * Hide "System Volume Information" folder * It's a FAT filesystem folder, shouldn't be used ## Additional Context * Fixes https://github.com/daveallie/crosspoint-reader/issues/177
This commit is contained in:
@@ -42,7 +42,7 @@ void FileSelectionActivity::loadFiles() {
|
||||
char name[128];
|
||||
for (auto file = root.openNextFile(); file; file = root.openNextFile()) {
|
||||
file.getName(name, sizeof(name));
|
||||
if (name[0] == '.') {
|
||||
if (name[0] == '.' || strcmp(name, "System Volume Information") == 0) {
|
||||
file.close();
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user