]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/RVBook.mm
Support showFromBarButtonItem:animated: with iPhonePrivate(iPad).
[cydia.git] / UICaboodle / RVBook.mm
index ba201aeff34372e8eac087cb00a7c1c84523e2a2..7fbbd5c3c7bc5cc2ee22023009ae6580a099d0f3 100644 (file)
 
 
 @implementation UCNavigationController
-- (void) setHook:(id)hook {
-       hook_ = hook;
+- (void) setHook:(id<HookProtocol>)hook {
+    hook_ = hook;
 }
 - (void) dismissModalViewControllerAnimated:(BOOL)animated {
-       [super dismissModalViewControllerAnimated:YES];
+    [super dismissModalViewControllerAnimated:YES];
 
-       if (hook_ != nil)
-           [hook_ didDismissModalViewController];
+    if (hook_ != nil)
+        [hook_ didDismissModalViewController];
 }
 @end