diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-05-08 11:51:48 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-05-08 11:51:48 -0700 |
commit | bb788f56f268cfebba2105be7e23744779cad7b8 (patch) | |
tree | b29ef0330a243cb50d8dea8d62b59cc04552347f /platform/darwin | |
parent | 1cf5af9c3155ea3e7261cf85be2004a528ac3763 (diff) | |
download | qtlocation-mapboxgl-bb788f56f268cfebba2105be7e23744779cad7b8.tar.gz |
Renamed settings keys
The new keys fit the standard naming convention for Info.plist keys and more clearly communicate how they’re to be used.
Diffstat (limited to 'platform/darwin')
-rw-r--r-- | platform/darwin/http_request_nsurl.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/http_request_nsurl.mm b/platform/darwin/http_request_nsurl.mm index 0006dbef80..5ab4e1b43e 100644 --- a/platform/darwin/http_request_nsurl.mm +++ b/platform/darwin/http_request_nsurl.mm @@ -154,7 +154,7 @@ void HTTPRequest::start() { @autoreleasepool { NSMutableString *url = [NSMutableString stringWithString:@(resource.url.c_str())]; - if ([[NSUserDefaults standardUserDefaults] objectForKey:@"mapbox_metrics_disabled"] == nil) { + if ([[NSUserDefaults standardUserDefaults] integerForKey:@"MGLMapboxAccountType"] == 0) { if ([url rangeOfString:@"?"].location == NSNotFound) { [url appendString:@"?"]; } else { |