diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-05-09 00:17:05 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-05-12 01:36:56 -0700 |
commit | c1fe6e18907b4edcb27fd7378091123e90d4e68f (patch) | |
tree | 5886b88f48a6abf54dfbef94eb7145f8abde7a72 | |
parent | f860169f356af37536443d8f23e8ccd610c21eb9 (diff) | |
download | qtlocation-mapboxgl-c1fe6e18907b4edcb27fd7378091123e90d4e68f.tar.gz |
Resume iff Metrics is enabled
-rw-r--r-- | platform/ios/MGLMapboxEvents.m | 2 |
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; |