fix: Crash when there is no prev message
This commit is contained in:
parent
d675f1dc19
commit
aff3a48147
1 changed files with 6 additions and 5 deletions
|
|
@ -274,7 +274,8 @@ class ChatListItem extends StatelessWidget {
|
||||||
hideReply: true,
|
hideReply: true,
|
||||||
hideEdit: true,
|
hideEdit: true,
|
||||||
plaintextBody: true,
|
plaintextBody: true,
|
||||||
),
|
) ??
|
||||||
|
L10n.of(context).emptyChat,
|
||||||
softWrap: false,
|
softWrap: false,
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue