Respond to CR.

pull/1/head
Matthew Chen 7 years ago
parent b26231e436
commit 57c79fd797

@ -160,10 +160,7 @@ NS_ASSUME_NONNULL_BEGIN
}
CGSize cellSize = [self cellSizeWithTransaction:transaction];
[self.layoutConstraints addObjectsFromArray:@[
[self.bubbleView autoSetDimension:ALDimensionWidth toSize:cellSize.width],
[self.bubbleView autoSetDimension:ALDimensionHeight toSize:cellSize.height],
]];
[self.layoutConstraints addObjectsFromArray:[self.bubbleView autoSetDimensionsToSize:cellSize]];
self.vStackView.layoutMarginsRelativeArrangement = YES;
self.vStackView.layoutMargins = UIEdgeInsetsMake(self.conversationStyle.textInsetTop,

@ -33,7 +33,6 @@ CGFloat ScaleFromIPhone5(CGFloat iPhone5Value);
- (NSLayoutConstraint *)autoHCenterInSuperview;
- (NSLayoutConstraint *)autoVCenterInSuperview;
- (void)autoPinEdgesToEdgesOfView:(UIView *)view;
- (void)autoPinWidthToWidthOfView:(UIView *)view;
- (void)autoPinHeightToHeightOfView:(UIView *)view;

@ -111,14 +111,6 @@ CGFloat ScaleFromIPhone5(CGFloat iPhone5Value)
return [self autoAlignAxis:ALAxisHorizontal toSameAxisOfView:self.superview];
}
- (void)autoPinEdgesToEdgesOfView:(UIView *)view
{
OWSAssert(view);
[self autoPinWidthToWidthOfView:view];
[self autoPinHeightToHeightOfView:view];
}
- (void)autoPinWidthToWidthOfView:(UIView *)view
{
OWSAssert(view);

Loading…
Cancel
Save