Commit 80024830 authored by Soomin Lee's avatar Soomin Lee Committed by Jean-Baptiste Kempf

iOS: Change editing verification method with swipe right event

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 77eda4b9
Pipeline #60 failed with stage
in 0 seconds
......@@ -832,9 +832,9 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
#pragma mark - Gesture Action
- (void)swipeRightOnTableViewCellGestureAction:(UIGestureRecognizer *)recognizer
{
if ([[self.editButtonItem title] isEqualToString:NSLocalizedString(@"BUTTON_CANCEL", nil)])
if (self.tableView.isEditing) {
[self setEditing:NO animated:YES];
else {
} else {
[self setEditing:YES animated:YES];
NSIndexPath *path = [self.tableView indexPathForRowAtPoint:[recognizer locationInView:self.tableView]];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment