Clean up ahead of PR.

pull/1/head
Matthew Chen 7 years ago
parent 9639d3cbae
commit 31443b5687

@ -79,6 +79,13 @@ NS_ASSUME_NONNULL_BEGIN
[self.avatarView autoVCenterInSuperview];
[self.avatarView setContentHuggingHigh];
[self.avatarView setCompressionResistanceHigh];
const CGFloat kAvatarMinVMargin = 10;
[self.avatarView autoPinEdgeToSuperviewEdge:ALEdgeTop
withInset:kAvatarMinVMargin
relation:NSLayoutRelationGreaterThanOrEqual];
[self.avatarView autoPinEdgeToSuperviewEdge:ALEdgeBottom
withInset:kAvatarMinVMargin
relation:NSLayoutRelationGreaterThanOrEqual];
self.payloadView = [UIStackView new];
self.payloadView.axis = UILayoutConstraintAxisVertical;

Loading…
Cancel
Save