forked from organicmaps/organicmaps
Merge pull request #4713 from therearesomewhocallmetim/fix_ios_compilation
Fixes ios compilation
This commit is contained in:
commit
715d605131
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ BOOL gIsFirstMyPositionMode = YES;
|
|||
{
|
||||
case location::NotFollowNoPosition:
|
||||
{
|
||||
BOOL const hasLocation = [MWMLocationManager lastLocation];
|
||||
BOOL const hasLocation = [MWMLocationManager lastLocation] != nil;
|
||||
if (hasLocation || (gIsFirstMyPositionMode && ![Alohalytics isFirstSession]))
|
||||
{
|
||||
GetFramework().SwitchMyPositionNextMode();
|
||||
|
|
Loading…
Add table
Reference in a new issue