mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 14:47:37 +03:00
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:
parent
57b075ec97
commit
026733a4fe
@ -42,7 +42,7 @@ void FileSelectionActivity::loadFiles() {
|
|||||||
char name[128];
|
char name[128];
|
||||||
for (auto file = root.openNextFile(); file; file = root.openNextFile()) {
|
for (auto file = root.openNextFile(); file; file = root.openNextFile()) {
|
||||||
file.getName(name, sizeof(name));
|
file.getName(name, sizeof(name));
|
||||||
if (name[0] == '.') {
|
if (name[0] == '.' || strcmp(name, "System Volume Information") == 0) {
|
||||||
file.close();
|
file.close();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user