File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed
Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -248,9 +248,7 @@ - (void)tableView:(UITableView*)tableView commitEditingStyle:(UITableViewCellEdi
248248 [AppDelegate.instance saveServerList ];
249249 }
250250 if (indexPath.row < [tableView numberOfRowsInSection: indexPath.section]) {
251- [tableView performBatchUpdates: ^{
252- [tableView deleteRowsAtIndexPaths: @[indexPath] withRowAnimation: UITableViewRowAnimationRight];
253- } completion: nil ];
251+ [tableView deleteRowsAtIndexPaths: @[indexPath] withRowAnimation: UITableViewRowAnimationRight];
254252 }
255253
256254 // Be aware! Sending "XBMCServerHasChanged" results in calling reloadData. Therefore ensure this is not called
Original file line number Diff line number Diff line change @@ -2233,9 +2233,7 @@ - (void)tableView:(UITableView*)tableView commitEditingStyle:(UITableViewCellEdi
22332233 [playlistData removeObjectAtIndex: indexPath.row];
22342234 }
22352235 if (indexPath.row < [playlistTableView numberOfRowsInSection: indexPath.section]) {
2236- [playlistTableView performBatchUpdates: ^{
2237- [playlistTableView deleteRowsAtIndexPaths: @[indexPath] withRowAnimation: UITableViewRowAnimationRight];
2238- } completion: nil ];
2236+ [playlistTableView deleteRowsAtIndexPaths: @[indexPath] withRowAnimation: UITableViewRowAnimationRight];
22392237 }
22402238 if (storeSelection && indexPath.row < storeSelection.row ) {
22412239 storeSelection = [NSIndexPath indexPathForRow: storeSelection.row - 1 inSection: storeSelection.section];
Original file line number Diff line number Diff line change @@ -303,9 +303,7 @@ - (void)tableView:(UITableView*)tableView commitEditingStyle:(UITableViewCellEdi
303303 [tableData removeObjectAtIndex: indexPath.row];
304304 }
305305 if (indexPath.row < [tableView numberOfRowsInSection: indexPath.section]) {
306- [tableView performBatchUpdates: ^{
307- [tableView deleteRowsAtIndexPaths: @[indexPath] withRowAnimation: UITableViewRowAnimationRight];
308- } completion: nil ];
306+ [tableView deleteRowsAtIndexPaths: @[indexPath] withRowAnimation: UITableViewRowAnimationRight];
309307 }
310308 [self deleteCustomButton: indexPath.row];
311309 }
You can’t perform that action at this time.
0 commit comments