Snackbars for all actions #30

Merged
konrad merged 9 commits from feature/snackbars into master 2019-03-15 06:52:50 +00:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 4611c69fe0 - Show all commits

View File

@ -114,7 +114,9 @@ class _ListPageState extends State<ListPage> {
setState(() {
_list.tasks.add(task);
});
}).then((_) => _updateList()
.then((_) => setState(() => _loadingTasks.remove(newTask))));
}).then((_) {
_updateList();
setState(() => _loadingTasks.remove(newTask));
});
}
}