diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-11-16 17:37:16 +0300 |
---|---|---|
committer | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-11-16 17:37:16 +0300 |
commit | f4440ee843de8fd2a9f2b836929acc83c23270bf (patch) | |
tree | b4f3b8466eeafe681953b581c09e311bba37560a /iphone/Maps/Classes/CustomViews/MapViewControls | |
parent | 9cb80242f86a3c72345d8b895e2089560c3fa182 (diff) |
[MAPSME-2976] [ios] Added viewport search no results alert.
Diffstat (limited to 'iphone/Maps/Classes/CustomViews/MapViewControls')
-rw-r--r-- | iphone/Maps/Classes/CustomViews/MapViewControls/Search/MWMSearchManager.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/MWMSearchManager.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/MWMSearchManager.mm index 50745616c1..23c31a1238 100644 --- a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/MWMSearchManager.mm +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/MWMSearchManager.mm @@ -130,9 +130,9 @@ typedef NS_ENUM(NSUInteger, MWMSearchManagerActionBarState) { - (IBAction)textFieldTextDidChange:(UITextField *)textField { NSString * text = textField.text; - [self clearFilter]; if (text.length > 0) { + [self clearFilter]; if ([MWMConsole performCommand:text]) { self.state = MWMSearchManagerStateHidden; |