From 1f0820c8e82810fb957cb1cd17fb4327debfc0e5 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Thu, 26 Nov 2015 22:38:14 +0200 Subject: [core] Added MapDebugOptions Map debug options are now cycled up to all debug options enabled, then back to none. --- ios/app/MBXViewController.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ios/app') diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm index 2acfe8c297..4c73f2f171 100644 --- a/ios/app/MBXViewController.mm +++ b/ios/app/MBXViewController.mm @@ -132,7 +132,7 @@ static UIColor *const kTintColor = [UIColor colorWithRed:0.120 green:0.550 blue: destructiveButtonTitle:nil otherButtonTitles:@"Reset North", @"Reset Position", - @"Toggle Debug", + @"Cycle debug options", @"Empty Memory", @"Add 100 Points", @"Add 1,000 Points", @@ -156,7 +156,7 @@ static UIColor *const kTintColor = [UIColor colorWithRed:0.120 green:0.550 blue: } else if (buttonIndex == actionSheet.firstOtherButtonIndex + 2) { - [self.mapView toggleDebug]; + [self.mapView cycleDebugOptions]; } else if (buttonIndex == actionSheet.firstOtherButtonIndex + 3) { -- cgit v1.2.1