Merge pull request #564 from detherminal/staging

fix: recent logs
This commit is contained in:
julian-CStack 2023-06-05 14:00:31 -06:00 committed by GitHub
commit 84fabcf300
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ class DebugService extends ChangeNotifier {
// });
}
List<Log> get recentLogs => isar.logs.where().limit(200).findAllSync();
List<Log> get recentLogs => isar.logs.where().sortByTimestampInMillisUTCDesc().limit(100).findAllSync();
// Future<void> updateRecentLogs() async {
// int totalCount = await isar.logs.count();