fix: Null pointer crash in chat list item
This commit is contained in:
parent
a41dadc6cf
commit
8a64b3630c
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue