forked from eatvio/eatvio_app
fix(iOS): Data type fix
This commit is contained in:
@@ -28,7 +28,7 @@ class ChatSelectBloc extends Bloc<ChatSelectEvent, ChatSelectState> {
|
||||
text = "Вы: " + text;
|
||||
}
|
||||
chats.add(ChatItemModel(
|
||||
id: int.parse(chatRooms[i]['id']),
|
||||
id: chatRooms[i]['id'],
|
||||
userImage: chatRooms[i]['users']['to_chat_user']
|
||||
['profile_photo_path'],
|
||||
username: chatRooms[i]['users']['to_chat_user']['name'],
|
||||
|
||||
@@ -25,5 +25,5 @@ class ChatItemModel {
|
||||
|
||||
String? greetingText;
|
||||
|
||||
int id;
|
||||
String id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user