| Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
|
| diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
|
| index 3754aa9ff72f0f36b8e098e34d786d9f22279726..25a4d97419857a9596cf1e5679b6fef0f1dc162d 100644
|
| --- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
|
| +++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
|
| @@ -40,6 +40,7 @@ const NSTimeInterval kAnimationDuration = 0.35;
|
|
|
| @synthesize suggestionCommandHandler = _suggestionCommandHandler;
|
| @synthesize collectionUpdater = _collectionUpdater;
|
| +@dynamic collectionViewModel;
|
|
|
| #pragma mark - Public
|
|
|
| @@ -64,7 +65,10 @@ const NSTimeInterval kAnimationDuration = 0.35;
|
|
|
| [self.collectionView deleteItemsAtIndexPaths:@[ indexPath ]];
|
| }
|
| - completion:nil];
|
| + completion:^(BOOL) {
|
| + // The context menu could be displayed for the delete entry.
|
| + [self.suggestionCommandHandler dismissContextMenu];
|
| + }];
|
| }
|
|
|
| #pragma mark - UIViewController
|
|
|