summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-05-09 00:17:05 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-05-12 01:36:56 -0700
commitc1fe6e18907b4edcb27fd7378091123e90d4e68f (patch)
tree5886b88f48a6abf54dfbef94eb7145f8abde7a72
parentf860169f356af37536443d8f23e8ccd610c21eb9 (diff)
downloadqtlocation-mapboxgl-c1fe6e18907b4edcb27fd7378091123e90d4e68f.tar.gz
Resume iff Metrics is enabled
-rw-r--r--platform/ios/MGLMapboxEvents.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/MGLMapboxEvents.m b/platform/ios/MGLMapboxEvents.m
index d8d57daba9..8eefd7c058 100644
--- a/platform/ios/MGLMapboxEvents.m
+++ b/platform/ios/MGLMapboxEvents.m
@@ -310,7 +310,7 @@ NSString *const MGLEventGestureRotateStart = @"Rotation";
//
- (void)resumeMetricsCollection {
MGLAssertIsMainThread();
- if (!self.isPaused || [[self class] isEnabled]) {
+ if (!self.isPaused || ![[self class] isEnabled]) {
return;
}
self.paused = NO;