fix: Empty timelines crashing the room view

This commit is contained in:
Sorunome 2021-08-15 19:44:38 +02:00
parent f8475a4a3b
commit 2c6b962c37
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C

View File

@ -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 ==