forked from cwtch.im/cwtch-ui
Column-wise contact row (marcia feedback)
This commit is contained in:
parent
439b9b874f
commit
e76f2883c6
|
@ -80,10 +80,9 @@ class _ContactRowState extends State<ContactRow> {
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: !Provider.of<Settings>(context).streamerMode,
|
visible: !Provider.of<Settings>(context).streamerMode,
|
||||||
child: Text(contact.onion,
|
child: Text(contact.onion,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
style: TextStyle(color: contact.isBlocked ? Provider.of<Settings>(context).theme.portraitBlockedTextColor : Provider.of<Settings>(context).theme.mainTextColor)),
|
style: TextStyle(color: contact.isBlocked ? Provider.of<Settings>(context).theme.portraitBlockedTextColor : Provider.of<Settings>(context).theme.mainTextColor)),
|
||||||
)
|
),
|
||||||
],
|
|
||||||
))),
|
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(5.0),
|
padding: const EdgeInsets.all(5.0),
|
||||||
child: contact.isInvitation == true
|
child: contact.isInvitation == true
|
||||||
|
@ -118,6 +117,8 @@ class _ContactRowState extends State<ContactRow> {
|
||||||
)
|
)
|
||||||
: Text(dateToNiceString(contact.lastMessageTime))),
|
: Text(dateToNiceString(contact.lastMessageTime))),
|
||||||
),
|
),
|
||||||
|
],
|
||||||
|
))),
|
||||||
]),
|
]),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
selectConversation(context, contact.identifier);
|
selectConversation(context, contact.identifier);
|
||||||
|
|
Loading…
Reference in New Issue