[iOS] Fixed crash in editor

https://jira.mail.ru/browse/MAPSME-14458
This commit is contained in:
Alexander Boriskov 2020-07-31 11:39:35 +03:00 committed by Arsentiy Milchakov
parent e7aa4e0c0b
commit e7f7232e8e
3 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ CGFloat const kDetailShortRightSpace = 16;
{
if (self.accessoryIcon.hidden)
return;
[self.delegate cellSelect:self];
[self.delegate cellDidPressButton:self];
}
@end

View file

@ -42,5 +42,5 @@
self.grayArrow.transform = CGAffineTransformMakeScale(-1, 1);
}
- (IBAction)selectAction { [self.delegate cellSelect:self]; }
- (IBAction)selectAction { [self.delegate cellDidPressButton:self]; }
@end

View file

@ -5,7 +5,7 @@
- (void)cell:(MWMTableViewCell *)cell changedText:(NSString *)changeText;
- (void)cell:(UITableViewCell *)cell changeSwitch:(BOOL)changeSwitch;
- (void)cellSelect:(UITableViewCell *)cell;
- (void)cellDidPressButton:(UITableViewCell *)cell;
- (void)tryToChangeInvalidStateForCell:(MWMTableViewCell *)cell;
@end