mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-29 09:32:35 +01:00
fix: Minor design issues
This commit is contained in:
parent
7d08817f1c
commit
d9590dd4e8
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user