Improved design

This commit is contained in:
Christian Pauly 2020-01-18 13:22:22 +01:00
commit 2b312ff74d
8 changed files with 47 additions and 11 deletions

View file

@ -214,12 +214,18 @@ class _ChatDetailsState extends State<ChatDetails> {
: Container(),
],
)
: i < members.length + 1
: i < members.length + 1 && false
? ParticipantListItem(members[i - 1])
: ListTile(
title: Text(
"Load more ${actualMembersCount - members.length} participants"),
leading: Icon(Icons.refresh),
leading: CircleAvatar(
backgroundColor: Colors.white,
child: Icon(
Icons.refresh,
color: Colors.grey,
),
),
onTap: () => requestMoreMembersAction(context),
),
),