[ios] Telemetry button in modal view controllers (#9027)

Fixes #8980.
This commit is contained in:
Jordan Kiley
2017-05-17 15:46:27 -07:00
committed by GitHub
parent 30b919196b
commit 4f90d7a566

View File

@@ -1999,9 +1999,10 @@ public:
}];
[alertController addAction:participateAction];
[self.window.rootViewController presentViewController:alertController
animated:YES
completion:NULL];
UIViewController *viewController = [self.window.rootViewController mgl_topMostViewController];
[viewController presentViewController:alertController
animated:YES
completion:NULL];
}
#pragma mark - Properties -