fix: recent logs

This commit is contained in:
detherminal 2023-05-31 00:46:11 +03:00
parent 3d5e86dc6f
commit 9e4c8dbc77

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();