Skip to content

Commit 8147e3c

Browse files
committed
fix: reload tasks on every list load
1 parent fe0bfea commit 8147e3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pages/project/project_task_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class _ListPageState extends State<ListPage> {
5555
_keyboardController.onChange.listen((visible) {
5656
if (!visible && mounted) FocusScope.of(context).unfocus();
5757
});
58+
Future.delayed(Duration.zero, _loadList);
5859
super.initState();
5960
}
6061

@@ -73,7 +74,6 @@ class _ListPageState extends State<ListPage> {
7374

7475
switch (taskState.pageStatus) {
7576
case PageStatus.built:
76-
Future.delayed(Duration.zero, _loadList);
7777
body = new Stack(children: [
7878
ListView(),
7979
Center(

0 commit comments

Comments
 (0)