chore: Follow up design changes

This commit is contained in:
krille-chan 2023-08-12 12:23:46 +02:00
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), 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(