瀏覽代碼

Add animation swipe hide "more"

Marino Faggiana 7 年之前
父節點
當前提交
f115a8a684
共有 1 個文件被更改,包括 2 次插入5 次删除
  1. 2 5
      iOSClient/Main/CCMain.m

+ 2 - 5
iOSClient/Main/CCMain.m

@@ -4213,11 +4213,8 @@
             [self swipeDelete:indexPath];
         
         // More
-        if (index == 1) {
-            
-            [cell hideSwipeAnimated:NO];
-            [self performSelector:@selector(swipeMore:) withObject:indexPath afterDelay:0.1];
-        }
+        if (index == 1)
+            [self swipeMore:indexPath];
     }
     
     if (direction == MGSwipeDirectionLeftToRight) {