chore: Follow up design changes

This commit is contained in:
krille-chan 2023-08-12 12:22:30 +02:00
commit 92337a8bbf
No known key found for this signature in database
3 changed files with 16 additions and 2 deletions

View file

@ -52,6 +52,8 @@ class ChatMembersController extends State<ChatMembersPage> {
.getRoomById(widget.roomId)
?.requestParticipants();
if (!mounted) return;
setState(() {
members = participants;
});

View file

@ -43,7 +43,7 @@ class ChatMembersView extends StatelessWidget {
),
actions: [
IconButton(
onPressed: () => context.go('/rooms/{room.id}/invite'),
onPressed: () => context.go('/rooms/${room.id}/invite'),
icon: const Icon(
Icons.person_add_outlined,
),