[ios] Fixed crash in street editor.

This commit is contained in:
VladiMihaylenko 2017-03-17 16:12:44 +03:00 committed by Sergey Yershov
parent 61c064c6e5
commit 05ca0a8442
2 changed files with 4 additions and 2 deletions

View file

@ -37,7 +37,10 @@
self.tableView.backgroundColor = [UIColor pressBackground];
self.tableView.separatorColor = [UIColor blackDividers];
[self.navigationController.navigationBar setTranslucent:NO];
[self.tableView registerClass:[MWMTableViewCell class] forCellReuseIdentifier:[UITableViewCell className]];
[self.tableView registerClass:[MWMTableViewCell class]
forCellReuseIdentifier:[UITableViewCell className]];
[self.tableView registerClass:[MWMTableViewSubtitleCell class]
forCellReuseIdentifier:[MWMTableViewSubtitleCell className]];
}
- (void)viewWillAppear:(BOOL)animated

View file

@ -73,7 +73,6 @@
{
UITableView * tv = self.tableView;
[tv registerWithCellClass:[MWMStreetEditorEditTableViewCell class]];
[tv registerWithCellClass:[MWMTableViewSubtitleCell class]];
}
#pragma mark - Actions