feat: Add logger service and improve expense dialog with enhanced receipt management and calculation logic.

This commit is contained in:
Van Leemput Dayron
2025-11-28 12:54:54 +01:00
parent cad9d42128
commit fd710b8cb8
35 changed files with 2148 additions and 1296 deletions

View File

@@ -144,12 +144,9 @@ class _GroupContentState extends State<GroupContent> {
final color = colors[group.name.hashCode.abs() % colors.length];
// Membres de manière simple
String memberInfo = '${group.members.length} membre(s)';
String memberInfo = '${group.memberIds.length} membre(s)';
if (group.members.isNotEmpty) {
final names = group.members
.take(2)
.map((m) => m.firstName)
.join(', ');
final names = group.members.take(2).map((m) => m.firstName).join(', ');
memberInfo += '\n$names';
}