forked from organicmaps/organicmaps-tmp
[ios] Download strings comparison fix
This commit is contained in:
parent
4c1b3cac30
commit
a5b041cb88
1 changed files with 2 additions and 2 deletions
|
@ -325,8 +325,8 @@ static bool getGuideName(string & name, storage::TIndex const & index)
|
|||
[[Statistics instance] logEvent:@"Open Guide Button" withParameters:@{@"Guide downloaded" : @"NO"}];
|
||||
}
|
||||
}
|
||||
else if ([title hasPrefix:[NSString stringWithFormat:NSLocalizedString(@"download_mb_or_kb", nil), @""]]
|
||||
|| [title hasPrefix:[NSString stringWithFormat:NSLocalizedString(@"update_mb_or_kb", nil),@""]])
|
||||
else if ([title rangeOfString:[NSString stringWithFormat:NSLocalizedString(@"download_mb_or_kb", nil), @""]].location != NSNotFound
|
||||
|| [title rangeOfString:[NSString stringWithFormat:NSLocalizedString(@"update_mb_or_kb", nil), @""]].location != NSNotFound)
|
||||
[self TryDownloadCountry];
|
||||
else if ([title isEqualToString:NSLocalizedString(@"cancel_download", nil)] || [title isEqualToString:NSLocalizedString(@"delete", nil)])
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue