From ff928a3013df5ef18817ffa95459cd8b35ec5117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 16 Dec 2015 11:45:33 -0800 Subject: [PATCH] [ios] Fixed off-by-one error due to merge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This needs to be converted into a giant switch statement, but that wouldn’t prevent issues like this cropping up in a merge anyways. --- ios/app/MBXViewController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm index d5ef81535..31b62ca6d 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]; }