Skip to content

Commit 200c4d5

Browse files
author
Junius Gunaratne
committed
[MaterialInk] Make sure completion block is fired after ink animation completes
Summary: [MaterialInk] Make sure completion block is fired after ink animation completes Make sure completion block is fired after ink animation completes. Closes https://github.com/google/material-components-ios/issues/72 Reviewers: featherless, ajsecord, #material_components_ios_owners, randallli Reviewed By: #material_components_ios_owners, randallli Subscribers: ajsecord Projects: #material_components_ios Differential Revision: http://codereview.cc/D109
1 parent 57950f2 commit 200c4d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/Ink/src/private/MDCInkLayer.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ - (void)spreadFromPoint:(CGPoint)point completion:(void (^)())completionBlock {
205205
[self startBackgroundRipple];
206206
[self startForegroundRippleAtPoint:point];
207207
_dropStartTime = CFAbsoluteTimeGetCurrent();
208+
_completionBlock = completionBlock;
208209
}
209210

210211
- (void)startBackgroundRipple {

0 commit comments

Comments
 (0)