[ios] Fixed location button update on search preview.

This commit is contained in:
Ilya Grechuhin 2015-06-29 12:18:35 +03:00 committed by Alex Zolotarev
parent ee15309a60
commit 9bb5cfa1c3

View file

@ -194,6 +194,7 @@ static BOOL keyboardLoaded = NO;
}
else if (state == SearchViewStateResults)
{
[locationManager stop:self];
[self.searchBar.textField resignFirstResponder];
[UIView animateWithDuration:duration delay:0 damping:damping initialVelocity:0 options:options animations:^{
self.alpha = 1;