From 10047dfbc9536c2f9dbb16c4a5870280a8bb7173 Mon Sep 17 00:00:00 2001 From: Junius Gunaratne Date: Fri, 1 Dec 2017 19:01:46 -0500 Subject: [PATCH] [Ink] Enable updated ink for collection views (#2546) * Enable updated ink for collection views * Set usesLegacyInkRipple in cell --- components/CollectionCells/src/MDCCollectionViewCell.m | 1 + 1 file changed, 1 insertion(+) diff --git a/components/CollectionCells/src/MDCCollectionViewCell.m b/components/CollectionCells/src/MDCCollectionViewCell.m index 3f9820337f4..10880687914 100644 --- a/components/CollectionCells/src/MDCCollectionViewCell.m +++ b/components/CollectionCells/src/MDCCollectionViewCell.m @@ -282,6 +282,7 @@ - (CGRect)accessoryFrame { - (MDCInkView *)inkView { if (!_inkView) { _inkView = [[MDCInkView alloc] initWithFrame:self.bounds]; + _inkView.usesLegacyInkRipple = NO; [self addSubview:_inkView]; } return _inkView;