fixed project problems
This commit is contained in:
parent
2687cb146b
commit
1c517a99f2
@ -22,8 +22,9 @@ class MessageViewTile extends StatelessWidget {
|
|||||||
UserProvider user = Provider.of<UserProvider>(context, listen: false);
|
UserProvider user = Provider.of<UserProvider>(context, listen: false);
|
||||||
String recipientLabel = "";
|
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;
|
recipientLabel = "me".i18n;
|
||||||
|
}
|
||||||
|
|
||||||
if (recipientLabel != "" && message.recipients.length > 1) {
|
if (recipientLabel != "" && message.recipients.length > 1) {
|
||||||
recipientLabel += " +";
|
recipientLabel += " +";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user