Skip to content

Commit

Permalink
[Slider] Add call to [super prepareForReuse] in example.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 331836270
  • Loading branch information
bryanoltman authored and material-automation committed Sep 15, 2020
1 parent eb82984 commit 5da1486
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/Slider/examples/SliderCollectionViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ - (void)applyModel:(MDCSliderModel *)model withColorScheme:(MDCSemanticColorSche
}

- (void)prepareForReuse {
[super prepareForReuse];

// Remove target/action pairs
NSSet *targets = [_slider allTargets];
for (id target in targets) {
Expand Down

0 comments on commit 5da1486

Please sign in to comment.