[ios] Added close street editor on selection.

This commit is contained in:
Ilya Grechuhin 2016-01-15 16:33:52 +03:00 committed by Sergey Yershov
parent ad229f15de
commit 3b3676d7c4

View file

@ -91,15 +91,8 @@ namespace
- (void)selectCell:(UITableViewCell *)selectedCell
{
self.editedStreetName = @"";
self.selectedStreet = [self.tableView indexPathForCell:selectedCell].row;
for (UITableViewCell * cell in self.tableView.visibleCells)
{
if ([cell isEqual:selectedCell])
continue;
NSIndexPath * indexPath = [self.tableView indexPathForCell:cell];
[self fillCell:cell indexPath:indexPath];
}
[self onDone];
}
- (void)fillCell:(UITableViewCell *)cell indexPath:(NSIndexPath *)indexPath