fix: Minor design issues

This commit is contained in:
Christian Pauly 2020-11-22 16:50:09 +01:00
parent 7d08817f1c
commit d9590dd4e8

View File

@ -167,8 +167,9 @@ class ChatListItem extends StatelessWidget {
? Padding(
padding: const EdgeInsets.only(left: 4.0),
child: Icon(
Icons.favorite_outline_rounded,
Icons.favorite_rounded,
size: 16,
color: Theme.of(context).primaryColor,
),
)
: Container(),
@ -198,13 +199,21 @@ class ChatListItem extends StatelessWidget {
subtitle: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
if (room.typingUsers.isEmpty && ownMessage) ...{
if (typingText.isEmpty && ownMessage) ...{
Icon(
room.lastEvent.statusIcon,
size: 14,
),
SizedBox(width: 4),
},
if (typingText.isNotEmpty) ...{
Icon(
Icons.edit,
color: Theme.of(context).primaryColor,
size: 14,
),
SizedBox(width: 4),
},
Expanded(
child: typingText.isNotEmpty
? Text(