squash pdf export + storage permissions
This commit is contained in:
1 parent
84eef41996
commit
004b7166f7
13 files changed
+207
-31
No files matched your search
@@ -12,6 +12,10 @@ class FileChangeNotifier extends ChangeNotifier {
|
||||
|
||||
Future<List<NoteTileData>> loadAllNotes() async {
|
||||
final path = await getSavePath();
|
||||
if (!(await path.exists())) {
|
||||
await path.create(recursive: true);
|
||||
}
|
||||
|
||||
final dta = await path
|
||||
.list()
|
||||
.where((fsentity) => fsentity.path.endsWith('.dbnote'))
|
||||
|
||||
Reference in new issue
Block a user