From: Jay Freeman (saurik) Date: Tue, 8 Mar 2011 19:57:05 +0000 (-0800) Subject: On 3.x I need to animate these buttons or they go nuts. X-Git-Tag: v1.1.0%b2~6 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/bf965437e402b48cc49995a6f251144f4d9ffbba?hp=5aebc4ffb44e18bc163420f86c604d72bab23d3e On 3.x I need to animate these buttons or they go nuts. --- diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm index c2f280cd..41ffd1e2 100644 --- a/CyteKit/WebViewController.mm +++ b/CyteKit/WebViewController.mm @@ -701,7 +701,7 @@ float CYScrollViewDecelerationRateNormal; else if (button == (UIBarButtonItem *) [NSNull null]) button = nil; - [[self navigationItem] setRightBarButtonItem:button]; + [[self navigationItem] setRightBarButtonItem:button animated:YES]; } }