chat fixed
This commit is contained in:
@@ -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);
|
||||
},
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user