Enable/Debug group editing viewcontrollers

pull/78/head
Ryan ZHAO 5 years ago
parent b29096ad21
commit 7cdd146202

@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN
_profileManager = [OWSProfileManager sharedManager]; _profileManager = [OWSProfileManager sharedManager];
// We don't want to notify the delegate in the `updateContacts`. // We don't want to notify the delegate in the `updateContacts`.
self.shouldNotifyDelegateOfUpdatedContacts = YES; // self.shouldNotifyDelegateOfUpdatedContacts = YES;
[self updateContacts]; [self updateContacts];
self.shouldNotifyDelegateOfUpdatedContacts = NO; self.shouldNotifyDelegateOfUpdatedContacts = NO;
@ -189,6 +189,7 @@ NS_ASSUME_NONNULL_BEGIN
// Don't fire delegate "change" events during initialization. // Don't fire delegate "change" events during initialization.
if (self.shouldNotifyDelegateOfUpdatedContacts) { if (self.shouldNotifyDelegateOfUpdatedContacts) {
OWSLogInfo(@"Fire delegate update function");
[self.delegate contactsViewHelperDidUpdateContacts]; [self.delegate contactsViewHelperDidUpdateContacts];
self.hasUpdatedContactsAtLeastOnce = YES; self.hasUpdatedContactsAtLeastOnce = YES;
} }

Loading…
Cancel
Save