Merge pull request #2774 from krille-chan/krille/chat-view-crash
fix: Chat view crashes if events list empty
This commit is contained in:
commit
61c71d87f1
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class ChatEventList extends StatelessWidget {
|
|||
return Column(
|
||||
mainAxisSize: .min,
|
||||
children: [
|
||||
SeenByRow(event: events.first),
|
||||
if (events.isNotEmpty) SeenByRow(event: events.first),
|
||||
TypingIndicators(controller),
|
||||
],
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue