Avoid annoying log statement

The reason should be saved in some other place so the user can know what
is going on. The debug logs get cluttered with this and this would leak
the folder names.
This commit is contained in:
Vishesh Handa
2020-11-08 10:36:29 +01:00
parent 6205e47aa3
commit ee34e2f628

View File

@ -220,10 +220,10 @@ class NotesFolderFS with NotesFolderNotifier implements NotesFolder {
if (fsEntity is Directory) {
var subFolder = NotesFolderFS(this, fsEntity.path, settings);
if (subFolder.name.startsWith('.')) {
Log.v("Ignoring Folder", props: {
"path": fsEntity.path,
"reason": "Hidden folder",
});
// Log.v("Ignoring Folder", props: {
// "path": fsEntity.path,
// "reason": "Hidden folder",
// });
continue;
}
Log.v("Found Folder", props: {"path": fsEntity.path});