mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 14:04:27 +01:00
Integrate TaskQueueViewModel throughout application
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:auto_gpt_flutter_client/services/leaderboard_service.dart';
|
||||
import 'package:auto_gpt_flutter_client/viewmodels/settings_viewmodel.dart';
|
||||
import 'package:auto_gpt_flutter_client/viewmodels/task_queue_viewmodel.dart';
|
||||
import 'package:auto_gpt_flutter_client/views/auth/firebase_auth_view.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'views/main_layout.dart';
|
||||
@@ -97,7 +98,9 @@ class MyApp extends StatelessWidget {
|
||||
create: (context) => TaskViewModel(
|
||||
Provider.of<TaskService>(context, listen: false))),
|
||||
ChangeNotifierProvider(
|
||||
create: (context) => SkillTreeViewModel(
|
||||
create: (context) => SkillTreeViewModel()),
|
||||
ChangeNotifierProvider(
|
||||
create: (context) => TaskQueueViewModel(
|
||||
Provider.of<BenchmarkService>(context, listen: false),
|
||||
Provider.of<LeaderboardService>(context, listen: false)),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user