Bläddra i källkod

Add animation swipe hide "more"

Marino Faggiana 7 år sedan
förälder
incheckning
f115a8a684
1 ändrade filer med 2 tillägg och 5 borttagningar
  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) {