From c95f1988aecf963281521a0d136c247fabd88548 Mon Sep 17 00:00:00 2001 From: Username1548 Date: Thu, 30 Oct 2025 17:13:58 +0300 Subject: [PATCH] commit to create new build --- lib/features/blog_post/presentation/cubit/blog_post_cubit.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/features/blog_post/presentation/cubit/blog_post_cubit.dart b/lib/features/blog_post/presentation/cubit/blog_post_cubit.dart index 02196288..844c8043 100644 --- a/lib/features/blog_post/presentation/cubit/blog_post_cubit.dart +++ b/lib/features/blog_post/presentation/cubit/blog_post_cubit.dart @@ -11,7 +11,9 @@ class BlogPostCubit extends Cubit { Future getBlogPost(int id) async { try { emit(state.copyWith(isLoading: true)); + final postModel = await feedRepository.getBlogPost(id: id); + emit(state.copyWith(blogPostModel: postModel, isLoading: false)); } catch (e, st) { log(e.toString(), stackTrace: st);