[ios] Fixed menu state go restore.

This commit is contained in:
Ilya Grechuhin 2016-07-19 09:37:11 +03:00
parent 87b248b8b2
commit 8d9d3db724

View file

@ -526,6 +526,8 @@ CGFloat constexpr kTimeWidthRegular = 128;
self.searchButton.hidden = NO;
break;
case MWMBottomMenuStateCompact:
if (_state == MWMBottomMenuStateGo)
self.restoreState = _state;
self.layoutDuration = IPAD ? kDefaultAnimationDuration : 0.0;
break;
case MWMBottomMenuStatePlanning: