m. removing commented code

This commit is contained in:
erinn 2021-03-16 15:55:08 -07:00
parent 98d0e56475
commit 1ad7a607cf
1 changed files with 0 additions and 21 deletions

View File

@ -95,27 +95,6 @@ class ContactListState extends ChangeNotifier {
List<ContactInfoState> _contacts = [];
int get num => _contacts.length;
// ContactListState(Cwtch cwtch, String profileOnion) {
// cwtch.GetContacts(profileOnion).then((jsonStr) {
// if (jsonStr == null) return;
//
// print("contacts: " + jsonStr);
// List<dynamic> contacts = jsonDecode(jsonStr);
// contacts.forEach((c) {
// add(ContactInfoState(
// profileOnion: profileOnion,
// onion: c["onion"],
// nickname: c["name"],
// isGroup: false,
// isInvitation: false,
// isBlocked: false,
// status: c["status"],
// imagePath: "",
// ));
// });
// });
// }
void addAll(Iterable<ContactInfoState> newContacts) {
_contacts.addAll(newContacts);
notifyListeners();