Skip to content

Commit

Permalink
[Ripple] Declare parameter type NSArray in the Ripple implementation.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 353951161
  • Loading branch information
yarneo authored and material-automation committed Jan 26, 2021
1 parent 1b98510 commit 73fb033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Ripple/src/MDCRippleView.m
Expand Up @@ -88,7 +88,7 @@ - (void)traitCollectionDidChange:(UITraitCollection *)previousTraitCollection {
- (void)layoutSublayersOfLayer:(CALayer *)layer {
[super layoutSublayersOfLayer:layer];

NSArray *sublayers = self.layer.sublayers;
NSArray<CALayer *> *sublayers = self.layer.sublayers;
if (sublayers.count > 0) {
[self updateRippleStyle];
}
Expand Down

0 comments on commit 73fb033

Please sign in to comment.