mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-30 16:29:30 +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(
|
||||||
padding: const EdgeInsets.only(left: 4.0),
|
padding: const EdgeInsets.only(left: 4.0),
|
||||||
child: Icon(
|
child: Icon(
|
||||||
Icons.favorite_outline_rounded,
|
Icons.favorite_rounded,
|
||||||
size: 16,
|
size: 16,
|
||||||
|
color: Theme.of(context).primaryColor,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
: Container(),
|
: Container(),
|
||||||
@ -198,13 +199,21 @@ class ChatListItem extends StatelessWidget {
|
|||||||
subtitle: Row(
|
subtitle: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
if (room.typingUsers.isEmpty && ownMessage) ...{
|
if (typingText.isEmpty && ownMessage) ...{
|
||||||
Icon(
|
Icon(
|
||||||
room.lastEvent.statusIcon,
|
room.lastEvent.statusIcon,
|
||||||
size: 14,
|
size: 14,
|
||||||
),
|
),
|
||||||
SizedBox(width: 4),
|
SizedBox(width: 4),
|
||||||
},
|
},
|
||||||
|
if (typingText.isNotEmpty) ...{
|
||||||
|
Icon(
|
||||||
|
Icons.edit,
|
||||||
|
color: Theme.of(context).primaryColor,
|
||||||
|
size: 14,
|
||||||
|
),
|
||||||
|
SizedBox(width: 4),
|
||||||
|
},
|
||||||
Expanded(
|
Expanded(
|
||||||
child: typingText.isNotEmpty
|
child: typingText.isNotEmpty
|
||||||
? Text(
|
? Text(
|
||||||
|
Loading…
Reference in New Issue
Block a user