]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/RVPage.mm
Massive stability and feature improvements to Cydia.
[cydia.git] / UICaboodle / RVPage.mm
index a92058ecde59107f41cb160227dbc1a364de4ecf..5d29a2668f6586ba4827f6521bd68de601d0051c 100644 (file)
@@ -1,7 +1,7 @@
 #import "RVPage.h"
 
 #import <Foundation/Foundation.h>
-#import <UIKit/UIView.h>
+#import <UIKit/UIKit.h>
 
 #import "RVBook.h"
 
     return nil;
 }
 
+- (UINavigationButtonStyle) leftButtonStyle {
+    return [self leftButtonTitle] == nil ? UINavigationButtonStyleBack : UINavigationButtonStyleNormal;
+}
+
+- (UINavigationButtonStyle) rightButtonStyle {
+    return UINavigationButtonStyleNormal;
+}
+
 - (void) _rightButtonClicked {
     [self doesNotRecognizeSelector:_cmd];
 }