summaryrefslogtreecommitdiff
path: root/platform/ios/app
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/app')
-rw-r--r--platform/ios/app/MBXViewController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m
index 567ca151f7..893cee1cdc 100644
--- a/platform/ios/app/MBXViewController.m
+++ b/platform/ios/app/MBXViewController.m
@@ -788,14 +788,14 @@ CLLocationCoordinate2D randomWorldCoordinate() {
heading:0];
__weak typeof(self) weakSelf = self;
[self.mapView setCamera:camera withDuration:0.3 animationTimingFunction:nil completionHandler:^{
- [weakSelf.mapView setContentInset:contentInsets animated:TRUE];
+ [weakSelf.mapView setContentInset:contentInsets animated:YES];
}];
} else {
[self.view sendSubviewToBack:self.contentInsetsOverlays[0]];
[self.view sendSubviewToBack:self.contentInsetsOverlays[1]];
[self.view sendSubviewToBack:self.contentInsetsOverlays[2]];
[self.view sendSubviewToBack:self.contentInsetsOverlays[3]];
- [self.mapView setContentInset:_originalContentInsets animated:TRUE];
+ [self.mapView setContentInset:_originalContentInsets animated:YES];
}
break;
}