From ee34e2f6287e00bb6755d09328458652b02d31a1 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sun, 8 Nov 2020 10:36:29 +0100 Subject: [PATCH] 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. --- lib/core/notes_folder_fs.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/notes_folder_fs.dart b/lib/core/notes_folder_fs.dart index 016528a8..edf2ad6a 100644 --- a/lib/core/notes_folder_fs.dart +++ b/lib/core/notes_folder_fs.dart @@ -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});