]> git.saurik.com Git - cydia.git/commitdiff
On 3.x I need to animate these buttons or they go nuts.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 8 Mar 2011 19:57:05 +0000 (11:57 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 8 Mar 2011 19:57:05 +0000 (11:57 -0800)
CyteKit/WebViewController.mm

index c2f280cddef577c9dd948f4f7207d61655788157..41ffd1e22ce9730a5b83c72c8a2483f2256e603a 100644 (file)
@@ -701,7 +701,7 @@ float CYScrollViewDecelerationRateNormal;
         else if (button == (UIBarButtonItem *) [NSNull null])
             button = nil;
 
-        [[self navigationItem] setRightBarButtonItem:button];
+        [[self navigationItem] setRightBarButtonItem:button animated:YES];
     }
 }