fix: Empty timelines crashing the room view
This commit is contained in:
parent
9f7fcf31fe
commit
3c57e7349c
1 changed files with 6 additions and 3 deletions
|
|
@ -304,6 +304,9 @@ class ChatView extends StatelessWidget {
|
||||||
: Duration(
|
: Duration(
|
||||||
milliseconds: 300),
|
milliseconds: 300),
|
||||||
alignment: controller
|
alignment: controller
|
||||||
|
.filteredEvents
|
||||||
|
.isNotEmpty &&
|
||||||
|
controller
|
||||||
.filteredEvents
|
.filteredEvents
|
||||||
.first
|
.first
|
||||||
.senderId ==
|
.senderId ==
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue