|
@@ -150,25 +150,6 @@ extern const NSInteger BLUR_TOPBAR_TAG;
|
150
|
150
|
_navigationButtons = [[RNNNavigationButtons alloc] initWithViewController:(RNNRootViewController*)viewController];
|
151
|
151
|
[_navigationButtons applyLeftButtons:self.leftButtons rightButtons:self.rightButtons];
|
152
|
152
|
}
|
153
|
|
-
|
154
|
|
- UIImage *image = self.backButton.image ? [RCTConvert UIImage:self.backButton.image] : nil;
|
155
|
|
- [viewController.navigationController.navigationBar setBackIndicatorImage:image];
|
156
|
|
- [viewController.navigationController.navigationBar setBackIndicatorTransitionMaskImage:image];
|
157
|
|
-
|
158
|
|
- if (![self.backButton.visible boolValue]) {
|
159
|
|
- self.backButton.title = @"";
|
160
|
|
- }
|
161
|
|
-
|
162
|
|
- if (self.backButton.title) {
|
163
|
|
- UIBarButtonItem *backItem = [[UIBarButtonItem alloc] initWithTitle:self.backButton.title
|
164
|
|
- style:UIBarButtonItemStylePlain
|
165
|
|
- target:nil
|
166
|
|
- action:nil];
|
167
|
|
-
|
168
|
|
- viewController.navigationItem.backBarButtonItem = backItem;
|
169
|
|
- }
|
170
|
|
-
|
171
|
|
- viewController.navigationItem.hidesBackButton = ![self.backButton.visible boolValue];
|
172
|
153
|
}
|
173
|
154
|
|
174
|
155
|
-(void)storeOriginalTopBarImages:(UIViewController*)viewController {
|