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,
|
index: i - 1,
|
||||||
controller: _scrollController,
|
controller: _scrollController,
|
||||||
child: Swipeable(
|
child: Swipeable(
|
||||||
key: ValueKey(i - 1),
|
key: ValueKey(
|
||||||
|
filteredEvents[i - 1].eventId),
|
||||||
background: Container(
|
background: Container(
|
||||||
color: Theme.of(context)
|
color: Theme.of(context)
|
||||||
.primaryColor
|
.primaryColor
|
||||||
|
|
Loading…
Reference in a new issue