fix: Crash when there is no prev message

This commit is contained in:
Krille Fear 2021-11-11 18:05:12 +01:00
commit aff3a48147

View file

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