Browse Source

backButton hideTitle fix

yogevbd 6 years ago
parent
commit
0e45d17e40
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      lib/ios/RNNBackButtonOptions.m

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

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