Skip to content

Commit ae9a40e

Browse files
committed
Remove all "manual calls"
1 parent 1ada27e commit ae9a40e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

XBMC Remote/DetailViewController.m

+7-1
Original file line numberDiff line numberDiff line change
@@ -3216,21 +3216,25 @@ - (id)getCell:(NSIndexPath*)indexPath {
32163216
}
32173217

32183218
- (void)selectAtIndexPath:(NSIndexPath*)indexPath {
3219+
/*
32193220
if (enableCollectionView) {
32203221
[collectionView selectItemAtIndexPath:indexPath animated:NO scrollPosition:UICollectionViewScrollPositionNone];
32213222
}
32223223
else {
32233224
[dataList selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
32243225
}
3226+
*/
32253227
}
32263228

32273229
- (void)deselectAtIndexPath:(NSIndexPath*)indexPath {
3230+
/*
32283231
if (enableCollectionView) {
32293232
[collectionView deselectItemAtIndexPath:indexPath animated:NO];
32303233
}
32313234
else {
32323235
[dataList deselectRowAtIndexPath:indexPath animated:NO];
32333236
}
3237+
*/
32343238
}
32353239

32363240
#pragma mark - Long Press & Action sheet
@@ -3454,7 +3458,7 @@ - (void)updateCellAndSaveRichData:(NSIndexPath*)indexPath watched:(int)watched i
34543458
// Set or unset the ckeck mark icon
34553459
if (enableCollectionView) {
34563460
[cell setOverlayWatched:wasWatched];
3457-
[collectionView deselectItemAtIndexPath:indexPath animated:YES];
3461+
//[collectionView deselectItemAtIndexPath:indexPath animated:YES];
34583462
}
34593463
else {
34603464
UIImageView *flagView = (UIImageView*)[cell viewWithTag:XIB_JSON_DATA_CELL_WATCHED_FLAG];
@@ -5476,6 +5480,7 @@ - (void)viewWillAppear:(BOOL)animated {
54765480
self.slidingViewController.anchorLeftPeekAmount = 0;
54775481
self.slidingViewController.anchorLeftRevealAmount = 0;
54785482
}
5483+
/*
54795484
NSIndexPath *selection = [dataList indexPathForSelectedRow];
54805485
if (selection) {
54815486
[dataList deselectRowAtIndexPath:selection animated:NO];
@@ -5488,6 +5493,7 @@ - (void)viewWillAppear:(BOOL)animated {
54885493
for (selection in [collectionView indexPathsForSelectedItems]) {
54895494
[collectionView deselectItemAtIndexPath:selection animated:YES];
54905495
}
5496+
*/
54915497

54925498
[self choseParams];
54935499

0 commit comments

Comments
 (0)