Explorar o código

Add animation swipe hide "more"

Marino Faggiana %!s(int64=7) %!d(string=hai) anos
pai
achega
f115a8a684
Modificáronse 1 ficheiros con 2 adicións e 5 borrados
  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) {