Commit e11b6aec authored by Javier Ernesto Flores Robles's avatar Javier Ernesto Flores Robles Committed by Commit Bot

[iOS][MF] Fix cell with extra constraint

Bug: 845472
Change-Id: Ibdcc5ead0e06decf0fc27914bea6801120cc77a9
Reviewed-on: https://chromium-review.googlesource.com/c/1356980Reviewed-by: default avatarYi Su <mrsuyi@chromium.org>
Commit-Queue: Javier Ernesto Flores Robles <javierrobles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612656}
parent 7d64c414
...@@ -89,6 +89,7 @@ static const CGFloat BottomBaseSystemSpacingMultiplier = 1.5; ...@@ -89,6 +89,7 @@ static const CGFloat BottomBaseSystemSpacingMultiplier = 1.5;
[self.titleButton setTitleColor:UIColor.cr_manualFillTintColor [self.titleButton setTitleColor:UIColor.cr_manualFillTintColor
forState:UIControlStateNormal]; forState:UIControlStateNormal];
self.titleButton.enabled = YES; self.titleButton.enabled = YES;
self.grayLine.hidden = YES;
} }
- (void)setUpWithTitle:(NSString*)title - (void)setUpWithTitle:(NSString*)title
...@@ -113,10 +114,7 @@ static const CGFloat BottomBaseSystemSpacingMultiplier = 1.5; ...@@ -113,10 +114,7 @@ static const CGFloat BottomBaseSystemSpacingMultiplier = 1.5;
[verticalLeadViews addObject:self.titleButton]; [verticalLeadViews addObject:self.titleButton];
if (showSeparator) { if (showSeparator) {
[verticalLeadViews addObject:self.grayLine];
self.grayLine.hidden = NO; self.grayLine.hidden = NO;
} else {
self.grayLine.hidden = YES;
} }
self.verticalConstraints = self.verticalConstraints =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment