Fix regression with deleting tasks

This commit is contained in:
hunteraraujo
2023-09-16 17:28:58 -07:00
parent f76d45cd9e
commit 25ce1d6be0
3 changed files with 8 additions and 4 deletions

View File

@@ -65,6 +65,9 @@ void main() async {
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
final taskService = Provider.of<TaskService>(context, listen: false);
taskService.loadDeletedTasks();
return MaterialApp(
title: 'AutoGPT Flutter Client',
theme: ThemeData(