Skip to content

Commit

Permalink
[ProgressView] Remove generics from ProgressView's progressTintColors
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 355885230
  • Loading branch information
andrewoverton authored and material-automation committed Feb 5, 2021
1 parent 2bb776a commit c7a70ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/ProgressView/src/MDCProgressView.h
Expand Up @@ -56,7 +56,7 @@ IB_DESIGNABLE
The default is nil.
*/
@property(nonatomic, copy, nullable) NSArray<UIColor *> *progressTintColors;
@property(nonatomic, copy, nullable) NSArray *progressTintColors;

/**
The color shown for the portion of the progress view that is not filled.
Expand Down
2 changes: 1 addition & 1 deletion components/ProgressView/src/MDCProgressView.m
Expand Up @@ -140,7 +140,7 @@ - (void)setProgressTintColor:(UIColor *)progressTintColor {
}
}

- (void)setProgressTintColors:(NSArray<UIColor *> *)progressTintColors {
- (void)setProgressTintColors:(NSArray *)progressTintColors {
_progressTintColors = [progressTintColors copy];
_progressTintColor = nil;
self.progressView.colors = _progressTintColors;
Expand Down

0 comments on commit c7a70ce

Please sign in to comment.