|
@@ -4,6 +4,10 @@
|
4
|
4
|
@implementation RNNBackButtonOptions
|
5
|
5
|
|
6
|
6
|
- (void)applyOn:(UIViewController *)viewController {
|
|
7
|
+ if (self.showTitle && ![self.showTitle boolValue]) {
|
|
8
|
+ self.title = @"";
|
|
9
|
+ }
|
|
10
|
+
|
7
|
11
|
if (self.icon) {
|
8
|
12
|
UIImage *image = self.tintedIcon;
|
9
|
13
|
[viewController.navigationController.navigationBar setBackIndicatorImage:[UIImage new]];
|
|
@@ -23,10 +27,6 @@
|
23
|
27
|
if (self.visible) {
|
24
|
28
|
viewController.navigationItem.hidesBackButton = ![self.visible boolValue];
|
25
|
29
|
}
|
26
|
|
-
|
27
|
|
- if (self.showTitle && ![self.showTitle boolValue]) {
|
28
|
|
- self.title = @"";
|
29
|
|
- }
|
30
|
30
|
}
|
31
|
31
|
|
32
|
32
|
- (void)setBackItem:(UIBarButtonItem *)backItem onViewController:(UIViewController *)viewController {
|