mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-08 17:40:28 +00:00
add test
This commit is contained in:
1 parent
63296f6950
commit
a06549a11a
13 files changed
+135
-100
No files matched your search
@@ -46,7 +46,7 @@ abstract class TaskListController extends GetxController {
|
||||
|
||||
getTasksState() async {
|
||||
final tasks =
|
||||
await LibgopeedBoot.instance.getTasks(TaskFilter(statuses: statuses));
|
||||
await LibgopeedBoot.instance.getTasks(TaskFilter(status: statuses));
|
||||
// sort tasks by create time
|
||||
tasks.sort(compare);
|
||||
this.tasks.value = tasks;
|
||||
|
||||
Reference in new issue
Block a user