forked from organicmaps/organicmaps
[ios] Fixed crash.
This commit is contained in:
parent
d959e2e8d8
commit
98b182ecbb
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ using namespace mwm;
|
|||
{
|
||||
NSInteger const section = indexPath.section;
|
||||
NSInteger const row = indexPath.row;
|
||||
if (self.downloadedCountries)
|
||||
if (row < self.downloadedCountries.count)
|
||||
return self.downloadedCountries[row];
|
||||
NSString * index = self.indexes[section];
|
||||
NSArray<NSString *> * availableCountries = self.availableCountries[index];
|
||||
|
|
Loading…
Add table
Reference in a new issue