[ios] fix search results panel on iPad

This commit is contained in:
Aleksey Belousov 2018-06-04 16:01:30 +03:00 committed by yoksnod
parent 61c50d2397
commit ca0488a3f3

View file

@ -291,9 +291,12 @@ using Observers = NSHashTable<Observer>;
[self.navigationController popToRootViewControllerAnimated:NO];
self.actionBarState = MWMSearchManagerActionBarStateModeFilter;
[self animateConstraints:^{
self.actionBarViewBottom.priority = UILayoutPriorityDefaultHigh;
}];
if (!IPAD)
{
[self animateConstraints:^{
self.actionBarViewBottom.priority = UILayoutPriorityDefaultHigh;
}];
}
auto const navigationManagerState = [MWMNavigationDashboardManager manager].state;
[self viewHidden:navigationManagerState != MWMNavigationDashboardStateHidden];
[MWMSearch setSearchOnMap:YES];