Merge pull request #2774 from krille-chan/krille/chat-view-crash

fix: Chat view crashes if events list empty
This commit is contained in:
Krille-chan 2026-03-28 13:59:48 +01:00 committed by GitHub
commit 61c71d87f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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),
],
);