forked from organicmaps/organicmaps
[ios] Fixed crash in street editor.
This commit is contained in:
parent
61c064c6e5
commit
05ca0a8442
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -73,7 +73,6 @@
|
|||
{
|
||||
UITableView * tv = self.tableView;
|
||||
[tv registerWithCellClass:[MWMStreetEditorEditTableViewCell class]];
|
||||
[tv registerWithCellClass:[MWMTableViewSubtitleCell class]];
|
||||
}
|
||||
|
||||
#pragma mark - Actions
|
||||
|
|
Loading…
Add table
Reference in a new issue