mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 13:05:11 +00:00
fix: not in range error
This commit is contained in:
parent
9dea9fa50a
commit
af18da57e6
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ class ChatEventList extends StatelessWidget {
|
||||||
// The message at this index:
|
// The message at this index:
|
||||||
final event = events[i];
|
final event = events[i];
|
||||||
final animateIn = animateInEventIndex != null &&
|
final animateIn = animateInEventIndex != null &&
|
||||||
|
controller.timeline!.events.length > animateInEventIndex &&
|
||||||
event == controller.timeline!.events[animateInEventIndex];
|
event == controller.timeline!.events[animateInEventIndex];
|
||||||
|
|
||||||
return AutoScrollTag(
|
return AutoScrollTag(
|
||||||
|
|
Loading…
Reference in a new issue