summaryrefslogtreecommitdiff
path: root/platform/ios/benchmark
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-01-26 18:52:44 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-01-27 11:44:16 +0100
commit62ea1f21858c69f6921c775ba7a3de201f0514d8 (patch)
tree7a4da88706e8a5513e1e13e993b2acc212cae3b1 /platform/ios/benchmark
parenta662508ddde4043ece36d8ea9b424368891d892c (diff)
downloadqtlocation-mapboxgl-62ea1f21858c69f6921c775ba7a3de201f0514d8.tar.gz
[core] remove trailing whitespace, add trailing newlines, add space after //
Diffstat (limited to 'platform/ios/benchmark')
-rw-r--r--platform/ios/benchmark/MBXBenchViewController.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/ios/benchmark/MBXBenchViewController.mm b/platform/ios/benchmark/MBXBenchViewController.mm
index 4f26d0cb1d..d4629e2521 100644
--- a/platform/ios/benchmark/MBXBenchViewController.mm
+++ b/platform/ios/benchmark/MBXBenchViewController.mm
@@ -52,7 +52,7 @@
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
-
+
if ([MGLAccountManager accessToken].length) {
[self startBenchmarkIteration];
} else {
@@ -62,7 +62,7 @@
textField.autocorrectionType = UITextAutocorrectionTypeNo;
textField.autocapitalizationType = UITextAutocapitalizationTypeNone;
}];
-
+
[alertController addAction:[UIAlertAction actionWithTitle:@"Cancel" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {
[self startBenchmarkIteration];
}]];
@@ -72,11 +72,11 @@
[[NSUserDefaults standardUserDefaults] setObject:accessToken forKey:MBXMapboxAccessTokenDefaultsKey];
[MGLAccountManager setAccessToken:accessToken];
[self.mapView reloadStyle:self];
-
+
[self startBenchmarkIteration];
}];
[alertController addAction:OKAction];
-
+
if ([alertController respondsToSelector:@selector(setPreferredAction:)]) {
alertController.preferredAction = OKAction;
}