Commit eefbf6cb authored by Nohemi Fernandez's avatar Nohemi Fernandez Committed by Commit Bot

[iOS] Migrate MDCSnackbarManager dismiss call in remoting.

Migrates MDCSnackbarManager dismissAndCallCompletionBlocksWithCategory
to MDCSnackbarManager.defaultManager.

TBR=yuweih@chromium.org

Bug: 1117399
Change-Id: Iabfebf3086e2909a0dee1a4aedc47d8b19d2956e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363758
Commit-Queue: Nohemi Fernandez <fernandex@chromium.org>
Reviewed-by: default avatarNohemi Fernandez <fernandex@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799659}
parent 98e10e15
......@@ -394,7 +394,8 @@ animationControllerForDismissedController:(UIViewController*)dismissed {
// label.
// TODO(yuweih): See if we really need to hide the account menu in this case,
// since it requires nontrivial changes.
[MDCSnackbarManager dismissAndCallCompletionBlocksWithCategory:nil];
[MDCSnackbarManager.defaultManager
dismissAndCallCompletionBlocksWithCategory:nil];
_fetchingErrorViewController.label.text = errorText;
remoting::SetAccessibilityFocusElement(_fetchingErrorViewController.label);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment