diff --git a/components/TextFields/src/MDCTextInputControllerLegacyDefault.m b/components/TextFields/src/MDCTextInputControllerLegacyDefault.m index ae823bd237c..b69cd09c2e1 100644 --- a/components/TextFields/src/MDCTextInputControllerLegacyDefault.m +++ b/components/TextFields/src/MDCTextInputControllerLegacyDefault.m @@ -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 { diff --git a/components/TextFields/src/MDCTextInputControllerLegacyFullWidth.m b/components/TextFields/src/MDCTextInputControllerLegacyFullWidth.m index ebafefa979b..ef51ea8ed0f 100644 --- a/components/TextFields/src/MDCTextInputControllerLegacyFullWidth.m +++ b/components/TextFields/src/MDCTextInputControllerLegacyFullWidth.m @@ -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 {