summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-12-16 11:45:33 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-12-16 15:48:55 -0800
commitff928a3013df5ef18817ffa95459cd8b35ec5117 (patch)
tree5720efdc45681cec018d5ad90229973142843f04
parent350cafb9036e4639e3417b15b17a54582017302f (diff)
downloadqtlocation-mapboxgl-ff928a3013df5ef18817ffa95459cd8b35ec5117.tar.gz
[ios] Fixed off-by-one error due to merge
This needs to be converted into a giant switch statement, but that wouldn’t prevent issues like this cropping up in a merge anyways.
-rw-r--r--ios/app/MBXViewController.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm
index d5ef815351..31b62ca6d0 100644
--- a/ios/app/MBXViewController.mm
+++ b/ios/app/MBXViewController.mm
@@ -262,7 +262,7 @@ static const CLLocationCoordinate2D WorldTourDestinations[] = {
{
[self.mapView removeAnnotations:self.mapView.annotations];
}
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 9)
+ else if (buttonIndex == actionSheet.firstOtherButtonIndex + 10)
{
[self insertCustomStyleLayer];
}