squash pdf export + storage permissions

This commit is contained in:
2022-10-31 18:29:58 +00:00
parent 84eef41996
commit 004b7166f7
13 changed files with 207 additions and 31 deletions

View File

@ -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'))