forked from organicmaps/organicmaps
[ios] Fixed incorrect comparison
This commit is contained in:
parent
be3f83774b
commit
2b658b35a6
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@
|
|||
- (BOOL)textFieldShouldReturn:(UITextField *)textField
|
||||
{
|
||||
[textField resignFirstResponder];
|
||||
if (m_balloon.title != textField.text)
|
||||
if (![m_balloon.title isEqualToString:textField.text])
|
||||
{
|
||||
if (textField.text.length == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue