diff --git a/lib/locator_service.dart b/lib/locator_service.dart index 16905092..e580c725 100644 --- a/lib/locator_service.dart +++ b/lib/locator_service.dart @@ -12,6 +12,7 @@ import 'package:eatvio_app/features/chat/services/chat_service.dart'; import 'package:eatvio_app/features/diary/presentation/bloc/diary_bloc.dart'; import 'package:eatvio_app/features/diary/repositories/diary_repository.dart'; import 'package:eatvio_app/features/diary/services/diary_service.dart'; +import 'package:eatvio_app/features/feed/presentation/bloc/diets_cubit/diets_cubit.dart'; import 'package:eatvio_app/features/feed/presentation/bloc/feed_cubit/feed_cubit.dart'; import 'package:eatvio_app/features/feed/presentation/bloc/recipes_cubit/recipes_cubit.dart'; import 'package:eatvio_app/features/feed/repositories/feed_repository.dart'; @@ -43,6 +44,7 @@ Future init() async { sl.registerFactory(() => CalendarCubit(calendarRepository: sl())); sl.registerFactory(() => ProfileCubit(profileRepository: sl())); sl.registerFactory(() => RecipeCreateCubit(recipeRepository: sl())); + sl.registerFactory(() => DietsCubit(feedRepository: sl())); // Repository sl.registerLazySingleton(() => ChatRepository(chatService: sl()));