X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/423f8cb9332c025bce60a40dc6efaf49abc59de9..d1145cbacbbdbb690c5d5effe9c549a81875a80d:/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]; }