chore: Follow up design changes

pull/474/head
krille-chan 2 years ago
parent 92337a8bbf
commit c74242118b
No known key found for this signature in database

@ -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(

Loading…
Cancel
Save