mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 03:06:29 +00:00
fix: recent logs
This commit is contained in:
parent
3d5e86dc6f
commit
9e4c8dbc77
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue