Skip to content

Commit

Permalink
fix: reload tasks on every list load
Browse files Browse the repository at this point in the history
  • Loading branch information
Benimautner committed Sep 26, 2024
1 parent fe0bfea commit 8147e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/project/project_task_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class _ListPageState extends State<ListPage> {
_keyboardController.onChange.listen((visible) {
if (!visible && mounted) FocusScope.of(context).unfocus();
});
Future.delayed(Duration.zero, _loadList);
super.initState();
}

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

switch (taskState.pageStatus) {
case PageStatus.built:
Future.delayed(Duration.zero, _loadList);
body = new Stack(children: [
ListView(),
Center(
Expand Down

0 comments on commit 8147e3c

Please sign in to comment.