fix: Null pointer crash in chat list item

This commit is contained in:
Christian Kußowski 2025-10-19 07:25:02 +02:00
commit 8a64b3630c
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -222,7 +222,7 @@ class ChatListItem extends StatelessWidget {
children: <Widget>[ children: <Widget>[
if (typingText.isEmpty && if (typingText.isEmpty &&
ownMessage && ownMessage &&
room.lastEvent!.status.isSending) ...[ room.lastEvent?.status.isSending == true) ...[
const SizedBox( const SizedBox(
width: 16, width: 16,
height: 16, height: 16,