diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2019-07-12 15:11:27 -0700 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2019-07-12 15:11:27 -0700 |
commit | fcb007f9f43becc285e811d9c4836f036b1f9cec (patch) | |
tree | 2de752d9f2e61e053feb925da944aa16e5da4490 | |
parent | 89dd08408b8da71ce1a399d645b64495fbef5ec2 (diff) | |
download | qtlocation-mapboxgl-fcb007f9f43becc285e811d9c4836f036b1f9cec.tar.gz |
[ios] remove ! from setMaximumAmbientCache
-rw-r--r-- | platform/darwin/src/MGLOfflineStorage.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLOfflineStorage.mm b/platform/darwin/src/MGLOfflineStorage.mm index 8aa4d172a8..7ad04deb33 100644 --- a/platform/darwin/src/MGLOfflineStorage.mm +++ b/platform/darwin/src/MGLOfflineStorage.mm @@ -517,7 +517,7 @@ const MGLExceptionName MGLUnsupportedRegionTypeException = @"MGLUnsupportedRegio NSLocalizedDescriptionKey: @(mbgl::util::toString(exception).c_str()), }]; } - if (!completion) { + if (completion) { dispatch_sync(dispatch_get_main_queue(), ^ { completion(error); }); |