forked from organicmaps/organicmaps
Merge pull request #3913 from igrechuhin/MAPSME-1509
[ios] Fixed navigation p2p button state.
This commit is contained in:
commit
2d42720a37
2 changed files with 1 additions and 2 deletions
|
@ -371,6 +371,7 @@ extern NSString * const kAlohalyticsTapEventKey;
|
|||
{
|
||||
self.navigationManager.state = MWMNavigationDashboardStatePrepare;
|
||||
MapsAppDelegate.theApp.routingPlaneMode = MWMRoutingPlaneModePlacePage;
|
||||
self.menuController.p2pButton.selected = YES;
|
||||
}
|
||||
|
||||
- (void)onRouteRebuild
|
||||
|
|
|
@ -154,8 +154,6 @@ using TInfoDisplays = NSHashTable<__kindof TInfoDisplay>;
|
|||
|
||||
- (void)setState:(MWMNavigationDashboardState)state
|
||||
{
|
||||
if (_state == state)
|
||||
return;
|
||||
switch (state)
|
||||
{
|
||||
case MWMNavigationDashboardStateHidden: [self hideState]; break;
|
||||
|
|
Loading…
Add table
Reference in a new issue