Skip to content

Commit

Permalink
This change removes some log statements that would otherwise annoy cl…
Browse files Browse the repository at this point in the history
…ients.

PiperOrigin-RevId: 292226642
  • Loading branch information
andrewoverton authored and material-automation committed Jan 29, 2020
1 parent a9789f2 commit f6dd4a5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions components/TextControls/src/BaseTextFields/MDCBaseTextField.m
Expand Up @@ -264,26 +264,18 @@ - (void)setEnabled:(BOOL)enabled {
}

- (void)setLeftViewMode:(UITextFieldViewMode)leftViewMode {
NSLog(@"Setting leftViewMode is not recommended. Consider setting leadingViewMode and "
@"trailingViewMode instead.");
[self mdc_setLeftViewMode:leftViewMode];
}

- (void)setRightViewMode:(UITextFieldViewMode)rightViewMode {
NSLog(@"Setting rightViewMode is not recommended. Consider setting leadingViewMode and "
@"trailingViewMode instead.");
[self mdc_setRightViewMode:rightViewMode];
}

- (void)setLeftView:(UIView *)leftView {
NSLog(@"Setting rightView and leftView are not recommended. Consider setting leadingView and "
@"trailingView instead.");
[self mdc_setLeftView:leftView];
}

- (void)setRightView:(UIView *)rightView {
NSLog(@"Setting rightView and leftView are not recommended. Consider setting leadingView and "
@"trailingView instead.");
[self mdc_setRightView:rightView];
}

Expand Down

0 comments on commit f6dd4a5

Please sign in to comment.