summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-08 11:57:05 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-08 11:57:05 -0800
commitbf965437e402b48cc49995a6f251144f4d9ffbba (patch)
tree437c40bcc0976f0ba6c43d46ed30b6f6379aa37c
parent5aebc4ffb44e18bc163420f86c604d72bab23d3e (diff)
On 3.x I need to animate these buttons or they go nuts.
-rw-r--r--CyteKit/WebViewController.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm
index c2f280c..41ffd1e 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];
}
}