batch insert points to db file when stroke finished

This commit is contained in:
2022-11-03 12:13:36 +01:00
parent 348886b5bb
commit 9be2c69ff5
4 changed files with 34 additions and 19 deletions

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;