Skip to content

Commit

Permalink
[TextFields] Removing extra calls in setupClearButton. (#2541)
Browse files Browse the repository at this point in the history
  • Loading branch information
willlarche committed Nov 30, 2017
1 parent d002670 commit 2b82001
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Expand Up @@ -348,8 +348,6 @@ - (void)setupClearButton {
UIImage *image = [self
drawnClearButtonImage:[UIColor colorWithWhite:0 alpha:[MDCTypography captionFontOpacity]]];
[_textInput.clearButton setImage:image forState:UIControlStateNormal];
[_textInput.clearButton setImage:image forState:UIControlStateNormal];
[_textInput.clearButton setImage:image forState:UIControlStateNormal];
}

- (void)subscribeForNotifications {
Expand Down
Expand Up @@ -252,8 +252,6 @@ - (void)setupClearButton {
UIImage *image = [self
drawnClearButtonImage:[UIColor colorWithWhite:0 alpha:[MDCTypography captionFontOpacity]]];
[_textInput.clearButton setImage:image forState:UIControlStateNormal];
[_textInput.clearButton setImage:image forState:UIControlStateNormal];
[_textInput.clearButton setImage:image forState:UIControlStateNormal];
}

- (void)subscribeForNotifications {
Expand Down

0 comments on commit 2b82001

Please sign in to comment.