chore: Follow up design changes
This commit is contained in:
parent
92337a8bbf
commit
c74242118b
1 changed files with 6 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue