[ios] Korean fix improvement

This commit is contained in:
Igor Khmurets 2014-07-25 17:39:49 +03:00 committed by Alex Zolotarev
parent 4ca1a1a72b
commit 78039f7c27

View file

@ -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])