Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[ios] Telemetry button in modal view controllers #9027

Merged
merged 2 commits into from
May 17, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion platform/ios/src/MGLMapView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1999,7 +1999,8 @@ - (void)presentTelemetryAlertController
}];
[alertController addAction:participateAction];

[self.window.rootViewController presentViewController:alertController
UIViewController *viewController = [self.window.rootViewController mgl_topMostViewController];
[viewController presentViewController:alertController
animated:YES
completion:NULL];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should tighten up the indentation here.

}
Expand Down