|
|
@ -42,12 +42,13 @@ class ChatMembersView extends StatelessWidget {
|
|
|
|
L10n.of(context)!.countParticipants(roomCount),
|
|
|
|
L10n.of(context)!.countParticipants(roomCount),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
actions: [
|
|
|
|
actions: [
|
|
|
|
IconButton(
|
|
|
|
if (room.canInvite)
|
|
|
|
onPressed: () => context.go('/rooms/${room.id}/invite'),
|
|
|
|
IconButton(
|
|
|
|
icon: const Icon(
|
|
|
|
onPressed: () => context.go('/rooms/${room.id}/invite'),
|
|
|
|
Icons.person_add_outlined,
|
|
|
|
icon: const Icon(
|
|
|
|
|
|
|
|
Icons.person_add_outlined,
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
body: MaxWidthBody(
|
|
|
|
body: MaxWidthBody(
|
|
|
|