forked from organicmaps/organicmaps
[ios] Fixed menu restore Go state.
This commit is contained in:
parent
4a65beb615
commit
d1e61d1a83
1 changed files with 2 additions and 2 deletions
|
@ -394,14 +394,14 @@ typedef NS_ENUM(NSUInteger, MWMBottomMenuViewCell)
|
|||
|
||||
- (IBAction)searchButtonTouchUpInside:(UIButton *)sender
|
||||
{
|
||||
self.state = MWMBottomMenuStateInactive;
|
||||
self.state = self.restoreState;
|
||||
[Alohalytics logEvent:kAlohalyticsTapEventKey withValue:@"search"];
|
||||
self.controller.controlsManager.searchHidden = self.searchIsActive;
|
||||
}
|
||||
|
||||
- (IBAction)bookmarksButtonTouchUpInside:(UIButton *)sender
|
||||
{
|
||||
self.state = MWMBottomMenuStateInactive;
|
||||
self.state = self.restoreState;
|
||||
[Alohalytics logEvent:kAlohalyticsTapEventKey withValue:@"bookmarks"];
|
||||
BookmarksRootVC * const vc = [[BookmarksRootVC alloc] init];
|
||||
[self.controller.navigationController pushViewController:vc animated:YES];
|
||||
|
|
Loading…
Add table
Reference in a new issue