[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.
This commit is contained in:
Minh Nguyễn
2015-12-16 11:45:33 -08:00
committed by John Firebaugh
parent 350cafb903
commit ff928a3013

View File

@@ -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];
}