X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/423f8cb9332c025bce60a40dc6efaf49abc59de9..cb9c2100cb472c49a84facf7ba2ff6a0c65c6f02:/UICaboodle/RVPage.mm diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm index a92058ec..5d29a266 100644 --- a/UICaboodle/RVPage.mm +++ b/UICaboodle/RVPage.mm @@ -1,7 +1,7 @@ #import "RVPage.h" #import -#import +#import #import "RVBook.h" @@ -24,6 +24,14 @@ return nil; } +- (UINavigationButtonStyle) leftButtonStyle { + return [self leftButtonTitle] == nil ? UINavigationButtonStyleBack : UINavigationButtonStyleNormal; +} + +- (UINavigationButtonStyle) rightButtonStyle { + return UINavigationButtonStyleNormal; +} + - (void) _rightButtonClicked { [self doesNotRecognizeSelector:_cmd]; }