Re-enabled skip specials logic in Directory.

This commit is contained in:
Relintai 2022-02-05 14:00:07 +01:00
parent 8e49115f09
commit bfec926e60
2 changed files with 3 additions and 9 deletions

View File

@ -69,11 +69,9 @@ bool Directory::next() {
tinydir_next(&_dir);
}
// if (_skip_specials && current_is_dir() && current_is_special_dir()) {
// return next();
// }
// tinydir_next(&_dir);
if (_skip_specials && current_is_dir() && current_is_special_dir()) {
return next();
}
return true;
}

View File

@ -31,10 +31,6 @@ void PagedArticles::load() {
while (dir->next()) {
if (dir->current_is_dir()) {
if (dir->current_is_special_dir()) {
continue;
}
String np = dir->current_get_path();
String fn = dir->current_get_name();