[discovery] Fix discovery search more cafes string

This commit is contained in:
tatiana-yan 2018-12-01 02:10:52 +03:00 committed by Olesia Bolovintseva
parent 2c4662ff02
commit 0616d3a9c6
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ public enum ItemType
}
},
CAFES(R.string.food, DiscoveryUserEvent.MORE_CAFES_CLICKED, DiscoveryUserEvent.CAFES_CLICKED)
CAFES(R.string.eat, DiscoveryUserEvent.MORE_CAFES_CLICKED, DiscoveryUserEvent.CAFES_CLICKED)
{
@Override
public void onResultReceived(@NonNull DiscoveryResultReceiver callback,

View file

@ -248,7 +248,7 @@ struct Callback
- (void)searchFood
{
[self.navigationController popViewControllerAnimated:YES];
[MWMMapViewControlsManager.manager searchTextOnMap:[L(@"food") stringByAppendingString:@" "]
[MWMMapViewControlsManager.manager searchTextOnMap:[L(@"eat") stringByAppendingString:@" "]
forInputLocale:[NSLocale currentLocale].localeIdentifier];
}