parent
c68dd77cc7
commit
0c26039a0e
|
@ -57,7 +57,15 @@ class _ContactRowState extends State<ContactRow> {
|
||||||
onPressed: _btnReject,
|
onPressed: _btnReject,
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
: Text(contact.unreadMessages.toString()), //(nb: Icons.create is a pencil and we use it for "edit", not create)
|
: (contact.isBlocked != null && contact.isBlocked
|
||||||
|
? IconButton(
|
||||||
|
padding: EdgeInsets.zero,
|
||||||
|
iconSize: 16,
|
||||||
|
icon: Icon(Icons.block, color: Opaque.current().mainTextColor()),
|
||||||
|
onPressed: (){},
|
||||||
|
)
|
||||||
|
: Text(contact.unreadMessages.toString())
|
||||||
|
),
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
|
Loading…
Reference in New Issue