This commit is contained in:
erinn 2021-04-09 19:45:03 -07:00
parent bd961d74f9
commit 9efdba492c
2 changed files with 1 additions and 2 deletions

View File

@ -140,7 +140,6 @@ class ProfileInfoState extends ChangeNotifier {
print("decoding " + contactsJson);
List<dynamic> contacts = jsonDecode(contactsJson);
this._contacts.addAll(contacts.map((contact) {
print(contact["onion"]+" "+contact["picture"]+": "+contact["authorization"]+" -> " + (contact["authorization"] == "unknown" ? "invite" : "non-invite"));
return ContactInfoState(
profileOnion: this.onion,
onion: contact["onion"],

View File

@ -40,7 +40,7 @@ class _ContactRowState extends State<ContactRow> {
IconButton(padding: EdgeInsets.zero, iconSize: 16, icon: Icon(Icons.delete, color: Opaque.current().mainTextColor()), onPressed: _btnReject,)])
: Text(contact.unreadMessages.toString()), //(nb: Icons.create is a pencil and we use it for "edit", not create)
title: Text(
contact.nickname,//(contact.isInvitation ? "invite " : "non-invite ") + (contact.isBlocked ? "blokt" : "nonblokt"),//
contact.nickname,
style: Provider.of<FlwtchState>(context).biggerFont,
),
subtitle: Text(contact.status),