feat(feed): views, more options

This commit is contained in:
mso7nueh
2025-04-16 13:24:43 +03:00
parent b0fb4b4727
commit 2ba130f875
12 changed files with 284 additions and 7 deletions

View File

@@ -19,6 +19,7 @@ import 'package:eatvio_app/features/diets/presentation/widgets/more_options.dart
import 'package:eatvio_app/features/feed/models/recipes_model.dart';
import 'package:eatvio_app/features/feed/presentation/bloc/comments_cubit/comments_cubit.dart';
import 'package:eatvio_app/features/feed/presentation/bloc/comments_cubit/comments_state.dart';
import 'package:eatvio_app/features/feed/presentation/bloc/feed_cubit/feed_cubit.dart';
import 'package:eatvio_app/features/feed/presentation/widgets/comments_widget.dart';
import 'package:eatvio_app/features/recipe/presentation/cubit/about_recipe_cubit.dart';
import 'package:eatvio_app/features/recipe/presentation/cubit/about_recipe_state.dart';
@@ -56,6 +57,7 @@ class _AboutRecipeScreenState extends State<AboutRecipeScreen> {
@override
void initState() {
super.initState();
context.read<FeedCubit>().viewRecipe(widget.recipe.slug);
scrollController.addListener(() {
if (isMoreOptionsVisible) {
setState(() {