Skip to content

Commit

Permalink
fix: last sender display name null safety
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian KOUNE committed Sep 28, 2023
1 parent 9faab22 commit 16a89e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/chat_list/chat_list_item_mixin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mixin ChatListItemMixin {
builder: (context, snapshot) {
if (snapshot.data == null) return const SizedBox.shrink();
return Text(
snapshot.data!.displayName!,
snapshot.data!.calcDisplayname(i18n: MatrixLocals(L10n.of(context)!)),
overflow: TextOverflow.ellipsis,
maxLines: 1,
softWrap: false,
Expand Down

0 comments on commit 16a89e5

Please sign in to comment.