fix replying to wrong message
when new message arrives during the gesture
This commit is contained in:
parent
20efc3dbb6
commit
3ee20eb07c
|
@ -677,7 +677,8 @@ class _ChatState extends State<_Chat> {
|
|||
index: i - 1,
|
||||
controller: _scrollController,
|
||||
child: Swipeable(
|
||||
key: ValueKey(i - 1),
|
||||
key: ValueKey(
|
||||
filteredEvents[i - 1].eventId),
|
||||
background: Container(
|
||||
color: Theme.of(context)
|
||||
.primaryColor
|
||||
|
|
Loading…
Reference in a new issue