fix direction dependent thichness

This commit is contained in:
lukas committed 2022-11-03 11:22:38 +01:00
1 parent 019cd2dad0
commit 348886b5bb
3 files changed
+30 -17

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.isAfter(b.lastModified) ? -1 : 1,
(a, b) => a.lastModified.compareTo(b.lastModified),
);
notifyListeners();
tiledata = dta;