mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[carplay] Reset search mode to handle switching from iOS
Fixes bug #1790 Signed-off-by: eisa01 <eisa01@gmail.com>
This commit is contained in:
@@ -32,6 +32,7 @@ API_AVAILABLE(ios(12.0))
|
||||
self.lastResults = @[];
|
||||
self.completionHandler = completionHandler;
|
||||
/// @todo Didn't find pure category request in CarPlay.
|
||||
[MWMSearch setSearchMode:SearchModeEverywhere];
|
||||
SearchQuery * query = [[SearchQuery alloc] init:text locale:inputLocale source:SearchTextSourceTypedText];
|
||||
[MWMSearch searchQuery:query];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user