Skip to content

Commit

Permalink
[iOS][MF] Fix cell with extra constraint
Browse files Browse the repository at this point in the history
Bug: 845472
Change-Id: Ibdcc5ead0e06decf0fc27914bea6801120cc77a9
Reviewed-on: https://chromium-review.googlesource.com/c/1356980
Reviewed-by: Yi Su <[email protected]>
Commit-Queue: Javier Ernesto Flores Robles <[email protected]>
Cr-Original-Commit-Position: refs/heads/master@{#612656}(cherry picked from commit e11b6ae)
Reviewed-on: https://chromium-review.googlesource.com/c/1363195
Reviewed-by: Javier Ernesto Flores Robles <[email protected]>
Cr-Commit-Position: refs/branch-heads/3626@{#74}
Cr-Branched-From: d897fb1-refs/heads/master@{#612437}
  • Loading branch information
Javier Ernesto Flores Robles committed Dec 5, 2018
1 parent fe7fa78 commit aaa6ec0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ios/chrome/browser/ui/autofill/manual_fill/action_cell.mm
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ - (void)prepareForReuse {
[self.titleButton setTitleColor:UIColor.cr_manualFillTintColor
forState:UIControlStateNormal];
self.titleButton.enabled = YES;
self.grayLine.hidden = YES;
}

- (void)setUpWithTitle:(NSString*)title
Expand All @@ -113,10 +114,7 @@ - (void)setUpWithTitle:(NSString*)title
[verticalLeadViews addObject:self.titleButton];

if (showSeparator) {
[verticalLeadViews addObject:self.grayLine];
self.grayLine.hidden = NO;
} else {
self.grayLine.hidden = YES;
}

self.verticalConstraints =
Expand Down

0 comments on commit aaa6ec0

Please sign in to comment.