diff --git a/lib/presentation/chat/chat_select_screen/models/chat_select_model.dart b/lib/presentation/chat/chat_select_screen/models/chat_select_model.dart index cc47e820..2b90449e 100644 --- a/lib/presentation/chat/chat_select_screen/models/chat_select_model.dart +++ b/lib/presentation/chat/chat_select_screen/models/chat_select_model.dart @@ -7,7 +7,6 @@ import 'package:eatvio_app/presentation/chat/chat_select_screen/models/chat_entr /// and is typically used to hold data that is passed between different parts of the application. class ChatSelectModel extends Equatable { ChatSelectModel({this.chatList = const []}); - List chatList; ChatSelectModel copyWith({List? chatList}) { return ChatSelectModel( diff --git a/lib/presentation/feed/blog_post_screen/bloc/blog_post_bloc.dart b/lib/presentation/feed/blog_post_screen/bloc/blog_post_bloc.dart index c77a0dc6..00e80f16 100644 --- a/lib/presentation/feed/blog_post_screen/bloc/blog_post_bloc.dart +++ b/lib/presentation/feed/blog_post_screen/bloc/blog_post_bloc.dart @@ -136,8 +136,8 @@ class BlogPostBloc extends Bloc { for (int i = 0; i < comments.length; i++) { list.add(CommentModel( id: comments[i]['id'].toString(), - userImage: '', - username: 'Вася Пупкин', + userImage: comments[i]['profile_photo_path'], + username: comments[i]['name'], dateText: DateFormat('dd.MM') .format(DateTime.parse(comments[i]['updated_at'])), greetingText: comments[i]['body']));