|
|
@@ -112,9 +112,9 @@
|
|
|
}
|
|
|
cell.sortIndex = indexPath.row;
|
|
|
|
|
|
- if (self.sortIndex == indexPath.row) {
|
|
|
+// if (self.sortIndex == indexPath.row) {
|
|
|
cell.selectedSort = YES;
|
|
|
- }
|
|
|
+// }
|
|
|
|
|
|
return cell;
|
|
|
}
|
|
|
@@ -136,9 +136,9 @@
|
|
|
// });
|
|
|
|
|
|
if (indexPath.row != self.sortIndex) {
|
|
|
- NSIndexPath *oldIndexPath = [NSIndexPath indexPathForRow:self.sortIndex inSection:0];
|
|
|
- SortItemCell *oldCell = [tableView cellForRowAtIndexPath:oldIndexPath];
|
|
|
- oldCell.selectedSort = NO;
|
|
|
+// NSIndexPath *oldIndexPath = [NSIndexPath indexPathForRow:self.sortIndex inSection:0];
|
|
|
+// SortItemCell *oldCell = [tableView cellForRowAtIndexPath:oldIndexPath];
|
|
|
+// oldCell.selectedSort = NO;
|
|
|
|
|
|
self.sortIndex = indexPath.row;
|
|
|
cell.selectedSort = YES;
|