forked from organicmaps/organicmaps
Fixes ios compilation
This commit is contained in:
parent
0439e4a9b0
commit
d7210fa287
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