Browse Source

Changed backButton.hideTitle to backButton.showTitle

yogevbd 6 years ago
parent
commit
04bf72979b
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      lib/ios/RNNBackButtonOptions.h
  2. 1
    1
      lib/ios/RNNBackButtonOptions.m

+ 1
- 1
lib/ios/RNNBackButtonOptions.h View File

@@ -6,6 +6,6 @@
6 6
 @property (nonatomic, strong) NSNumber* visible;
7 7
 @property (nonatomic, strong) NSString* title;
8 8
 @property (nonatomic, strong) NSString* transition;
9
-@property (nonatomic, strong) NSNumber* hideTitle;
9
+@property (nonatomic, strong) NSNumber* showTitle;
10 10
 
11 11
 @end

+ 1
- 1
lib/ios/RNNBackButtonOptions.m View File

@@ -13,7 +13,7 @@
13 13
 		viewController.navigationItem.hidesBackButton = ![self.visible boolValue];
14 14
 	}
15 15
 	
16
-	if (self.hideTitle) {
16
+	if (self.showTitle && ![self.showTitle boolValue]) {
17 17
 		self.title = @"";
18 18
 	}
19 19