diff --git a/lib/core/notes_cache.dart b/lib/core/notes_cache.dart index 464d7e32..d216b917 100644 --- a/lib/core/notes_cache.dart +++ b/lib/core/notes_cache.dart @@ -32,7 +32,7 @@ class NotesCache { var fileList = await loadFromDisk(); Log.i("Notes Cache Loaded: ${fileList.length} items"); - var sep = Platform.pathSeparator; + var sep = p.separator; var notesBasePath = this.notesBasePath; if (!notesBasePath.endsWith(sep)) { notesBasePath += sep;