forked from organicmaps/organicmaps
[ios] Fixed pedestrian mode activation.
This commit is contained in:
parent
688307aee3
commit
fd38640009
1 changed files with 2 additions and 1 deletions
|
@ -409,7 +409,8 @@ static BOOL keyboardLoaded = NO;
|
|||
MapsAppDelegate * delegate = [MapsAppDelegate theApp];
|
||||
BOOL const isPedestrianRoutingMode = delegate.isPedestrianRoutingMode;
|
||||
delegate.isPedestrianRoutingMode = !isPedestrianRoutingMode;
|
||||
[self searchBarDidPressCancelButton:nil];
|
||||
[self search:cmd];
|
||||
[self searchBarDidPressCancelButton:nil];
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue