Enhance group member management: add last name support in GroupMember model, update member display in chat and trip details, and implement pseudo change functionality in chat group.

This commit is contained in:
Van Leemput Dayron
2025-11-14 00:34:28 +01:00
parent c322bc079a
commit 79cf3f4655
6 changed files with 167 additions and 27 deletions

View File

@@ -159,7 +159,7 @@ class _GroupContentState extends State<GroupContent> {
if (group.members.isNotEmpty) {
final names = group.members
.take(2)
.map((m) => m.pseudo.isNotEmpty ? m.pseudo : m.firstName)
.map((m) => m.firstName)
.join(', ');
memberInfo += '\n$names';
}