forked from organicmaps/organicmaps
[ios] Korean fix improvement
This commit is contained in:
parent
4ca1a1a72b
commit
78039f7c27
1 changed files with 7 additions and 0 deletions
|
@ -325,6 +325,13 @@ static void onSearchResultCallback(search::Results const & results)
|
|||
|
||||
- (void)frameworkDidAddSearchResult:(SearchResultsWrapper *)wrapper
|
||||
{
|
||||
// special buben for situation when textfield is empty and we should show categories (cause 'self.wrapper' == nil)
|
||||
// but callbacks from previous non-empty search are coming and modifying 'self.wrapper'
|
||||
// so, we see previous search results with empty textfield
|
||||
if (![self.searchBar.textField.text length])
|
||||
return;
|
||||
// -----------------------------------------
|
||||
|
||||
if ([wrapper isEndMarker])
|
||||
{
|
||||
if ([wrapper isEndedNormal])
|
||||
|
|
Loading…
Add table
Reference in a new issue