Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios] Fix internal location manager invocation.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-guerra committed Jun 26, 2018
1 parent ad19f43 commit d03fa07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/darwin/src/MGLLocationManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ - (CLAuthorizationStatus)authorizationStatus

- (void)setHeadingOrientation:(CLDeviceOrientation)headingOrientation
{
_locationManager.headingOrientation = headingOrientation;
self.locationManager.headingOrientation = headingOrientation;
}

- (CLDeviceOrientation)headingOrientation
{
return _locationManager.headingOrientation;
return self.locationManager.headingOrientation;
}

- (void)requestAlwaysAuthorization
Expand Down

0 comments on commit d03fa07

Please sign in to comment.