summaryrefslogtreecommitdiff
path: root/platform/ios/app/MBXViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/app/MBXViewController.m')
-rw-r--r--platform/ios/app/MBXViewController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m
index 346a182a88..31a2ff1d6d 100644
--- a/platform/ios/app/MBXViewController.m
+++ b/platform/ios/app/MBXViewController.m
@@ -729,7 +729,7 @@ CLLocationCoordinate2D randomWorldCoordinate() {
acrossDistance:100
pitch:60
heading:0];
- __weak typeof(self) weakSelf = self;
+ __weak MBXViewController *weakSelf = self;
[self.mapView setCamera:camera withDuration:0.3 animationTimingFunction:nil completionHandler:^{
[weakSelf.mapView setContentInset:contentInsets animated:YES completionHandler:nil];
}];