mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 13:53:37 +00:00
[ios] refactor search - use SearchQuery class instead of text+locale+isCategory
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
09171651ff
commit
96c24cf973
@@ -85,9 +85,10 @@ using namespace osm_auth_ios;
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
[[MWMMapViewControlsManager manager] searchText:[searchString stringByAppendingString:@" "]
|
||||
forInputLocale:[MWMSettings spotlightLocaleLanguageId]];
|
||||
SearchQuery * query = [[SearchQuery alloc] init:[searchString stringByAppendingString:@" "]
|
||||
locale:[MWMSettings spotlightLocaleLanguageId]
|
||||
source:SearchTextSourceDeeplink];
|
||||
[[MWMMapViewControlsManager manager] search:query];
|
||||
}
|
||||
|
||||
- (void)commonInit {
|
||||
|
||||
Reference in New Issue
Block a user