@@ -3216,21 +3216,25 @@ - (id)getCell:(NSIndexPath*)indexPath {
3216
3216
}
3217
3217
3218
3218
- (void)selectAtIndexPath:(NSIndexPath*)indexPath {
3219
+ /*
3219
3220
if (enableCollectionView) {
3220
3221
[collectionView selectItemAtIndexPath:indexPath animated:NO scrollPosition:UICollectionViewScrollPositionNone];
3221
3222
}
3222
3223
else {
3223
3224
[dataList selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
3224
3225
}
3226
+ */
3225
3227
}
3226
3228
3227
3229
- (void)deselectAtIndexPath:(NSIndexPath*)indexPath {
3230
+ /*
3228
3231
if (enableCollectionView) {
3229
3232
[collectionView deselectItemAtIndexPath:indexPath animated:NO];
3230
3233
}
3231
3234
else {
3232
3235
[dataList deselectRowAtIndexPath:indexPath animated:NO];
3233
3236
}
3237
+ */
3234
3238
}
3235
3239
3236
3240
#pragma mark - Long Press & Action sheet
@@ -3454,7 +3458,7 @@ - (void)updateCellAndSaveRichData:(NSIndexPath*)indexPath watched:(int)watched i
3454
3458
// Set or unset the ckeck mark icon
3455
3459
if (enableCollectionView) {
3456
3460
[cell setOverlayWatched:wasWatched];
3457
- [collectionView deselectItemAtIndexPath:indexPath animated:YES];
3461
+ // [collectionView deselectItemAtIndexPath:indexPath animated:YES];
3458
3462
}
3459
3463
else {
3460
3464
UIImageView *flagView = (UIImageView*)[cell viewWithTag:XIB_JSON_DATA_CELL_WATCHED_FLAG];
@@ -5476,6 +5480,7 @@ - (void)viewWillAppear:(BOOL)animated {
5476
5480
self.slidingViewController.anchorLeftPeekAmount = 0;
5477
5481
self.slidingViewController.anchorLeftRevealAmount = 0;
5478
5482
}
5483
+ /*
5479
5484
NSIndexPath *selection = [dataList indexPathForSelectedRow];
5480
5485
if (selection) {
5481
5486
[dataList deselectRowAtIndexPath:selection animated:NO];
@@ -5488,6 +5493,7 @@ - (void)viewWillAppear:(BOOL)animated {
5488
5493
for (selection in [collectionView indexPathsForSelectedItems]) {
5489
5494
[collectionView deselectItemAtIndexPath:selection animated:YES];
5490
5495
}
5496
+ */
5491
5497
5492
5498
[self choseParams];
5493
5499
0 commit comments