chat fixed

This commit is contained in:
Juan Felipe Duarte
2023-05-04 16:57:27 -05:00
parent bc1357b7a6
commit 4807041bcf
7 changed files with 141 additions and 56 deletions
+2 -2
View File
@@ -58,12 +58,12 @@ class _MessagesScreenState extends State<MessagesScreen> {
list[index].user?.name ?? '',
),
onTap: () {
Event.getEventById('scOUCJUs6iW7zVo4g2m8').then((value) {
Event.getEventById(list[index].id).then((value) {
Navigator.push(
context,
CupertinoPageRoute(
builder: (BuildContext context) {
return ChatScreen(evento: value);
return ChatScreen(eventoId: list[index].id);
},
),
);