forked from organicmaps/organicmaps
[cherry] [MAPSME-6996] [ios] Fixed crash in opening hours editor.
This commit is contained in:
parent
86a8ef0d8f
commit
aa56d9b95c
1 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,8 @@ extern NSDictionary * const kMWMOpeningHoursEditorTableCells = @{
|
|||
- (void)fillCell:(MWMOpeningHoursTableViewCell * _Nonnull)cell
|
||||
atIndexPath:(NSIndexPath * _Nonnull)indexPath
|
||||
{
|
||||
if (!self.parentViewController)
|
||||
return;
|
||||
if (indexPath.section < self.model.count)
|
||||
[self.model fillCell:cell atIndexPath:indexPath];
|
||||
else if ([cell isKindOfClass:[MWMOpeningHoursAddScheduleTableViewCell class]])
|
||||
|
|
Loading…
Add table
Reference in a new issue