Marino Faggiana 7 年 前
コミット
fc347b99f3
1 ファイル変更2 行追加1 行削除
  1. 2 1
      iOSClient/Main/CCMain.m

+ 2 - 1
iOSClient/Main/CCMain.m

@@ -4539,7 +4539,8 @@
     [_statusSwipeCell removeAllObjects];
     for (MGSwipeTableCell *cell in self.tableView.visibleCells) {
         NSIndexPath *indexPath = [self.tableView indexPathForCell:cell];
-        [_statusSwipeCell setObject:[NSNumber numberWithDouble:cell.swipeOffset] forKey:indexPath];
+        if (cell != nil && indexPath != nil)
+            [_statusSwipeCell setObject:[NSNumber numberWithDouble:cell.swipeOffset] forKey:indexPath];
     }
     
     // reload table view