| Index: ios/chrome/browser/ui/settings/settings_navigation_controller.mm
|
| diff --git a/ios/chrome/browser/ui/settings/settings_navigation_controller.mm b/ios/chrome/browser/ui/settings/settings_navigation_controller.mm
|
| index b1b25e508dcf0a11631a3e674e27d17e7a4e78c3..035118eae4e36ea24f3b26d5bfbb960d399a6520 100644
|
| --- a/ios/chrome/browser/ui/settings/settings_navigation_controller.mm
|
| +++ b/ios/chrome/browser/ui/settings/settings_navigation_controller.mm
|
| @@ -542,6 +542,9 @@ initWithRootViewController:(UIViewController*)rootViewController
|
| #pragma mark - UIResponder
|
|
|
| - (NSArray*)keyCommands {
|
| + if ([self presentedViewController]) {
|
| + return nil;
|
| + }
|
| base::WeakNSObject<SettingsNavigationController> weakSelf(self);
|
| return @[
|
| [UIKeyCommand cr_keyCommandWithInput:UIKeyInputEscape
|
|
|