From 1c517a99f23adda6f34ab68e4e3a43eaf11c32c0 Mon Sep 17 00:00:00 2001 From: kima Date: Tue, 13 Jun 2023 23:37:25 +0200 Subject: [PATCH] fixed project problems --- .../lib/common/widgets/message/message_view_tile.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filcnaplo_mobile_ui/lib/common/widgets/message/message_view_tile.dart b/filcnaplo_mobile_ui/lib/common/widgets/message/message_view_tile.dart index 62e8f83..42cfd29 100755 --- a/filcnaplo_mobile_ui/lib/common/widgets/message/message_view_tile.dart +++ b/filcnaplo_mobile_ui/lib/common/widgets/message/message_view_tile.dart @@ -22,8 +22,9 @@ class MessageViewTile extends StatelessWidget { UserProvider user = Provider.of(context, listen: false); String recipientLabel = ""; - if (message.recipients.any((r) => r.name == user.student?.name)) + if (message.recipients.any((r) => r.name == user.student?.name)) { recipientLabel = "me".i18n; + } if (recipientLabel != "" && message.recipients.length > 1) { recipientLabel += " +";