chore: Follow up design changes

This commit is contained in:
krille-chan 2023-08-12 12:23:46 +02:00
parent 92337a8bbf
commit c74242118b
No known key found for this signature in database

View file

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