clarify code and clean up code formatting

I think we hit some pathological cases in clang format, but this is
clearer anyway IMO

// FREEBIE
pull/1/head
Michael Kirk 7 years ago
parent b7307ecfa0
commit 37b7bf18e9

@ -515,11 +515,13 @@ typedef void (^CustomLayoutBlock)();
if (gestureRecognizer.state == UIGestureRecognizerStateRecognized) {
BOOL isVerified = [[OWSIdentityManager sharedManager] verificationStateForRecipientId:self.recipientId]
== OWSVerificationStateVerified;
[[OWSIdentityManager sharedManager]
setVerificationState:(isVerified ? OWSVerificationStateDefault : OWSVerificationStateVerified)identityKey
:self.identityKey
recipientId:self.recipientId
isUserInitiatedChange:YES];
OWSVerificationState newVerificationState
= (isVerified ? OWSVerificationStateDefault : OWSVerificationStateVerified);
[[OWSIdentityManager sharedManager] setVerificationState:newVerificationState
identityKey:self.identityKey
recipientId:self.recipientId
isUserInitiatedChange:YES];
[self dismissViewControllerAnimated:YES completion:nil];
}

Loading…
Cancel
Save