batch insert points to db file when stroke finished

This commit is contained in:
lukas committed 2022-11-03 12:13:36 +01:00
1 parent 348886b5bb
commit 9be2c69ff5
4 files changed
+34 -19

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ class FileChangeNotifier extends ChangeNotifier {
return NoteTileData(name, filename, lastmodified);
}).toList();
dta.sort(
(a, b) => a.lastModified.compareTo(b.lastModified),
(a, b) => b.lastModified.compareTo(a.lastModified),
);
notifyListeners();
tiledata = dta;