fixes #237
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
erinn 2021-04-12 15:38:31 -07:00
parent c68dd77cc7
commit 0c26039a0e
1 changed files with 9 additions and 1 deletions

View File

@ -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: () {