[iphone] hide activation mark on search view start

This commit is contained in:
ExMix 2014-06-29 18:12:42 +03:00 committed by Alex Zolotarev
parent dfb4aa2d86
commit 463f78de6c
2 changed files with 5 additions and 0 deletions

View file

@ -1027,7 +1027,10 @@ const long long LITE_IDL = 431183278L;
if ([self respondsToSelector:@selector(setNeedsStatusBarAppearanceUpdate)])
[self setNeedsStatusBarAppearanceUpdate];
if (self.searchView.state == SearchViewStateFullscreen)
{
GetFramework().ActivateUserMark(NULL);
[self.containerView.placePage setState:PlacePageStateHidden animated:YES withCallback:NO];
}
}
}

View file

@ -246,6 +246,8 @@ __weak SearchView * selfPointer;
_state = state;
if (withCallback)
[self didChangeValueForKey:@"state"];
GetFramework().Invalidate();
}
- (void)onLocationError:(location::TLocationError)errorCode