Pārlūkot izejas kodu

Changed backButton.hideTitle to backButton.showTitle

yogevbd 6 gadus atpakaļ
vecāks
revīzija
04bf72979b
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1
    1
      lib/ios/RNNBackButtonOptions.h
  2. 1
    1
      lib/ios/RNNBackButtonOptions.m

+ 1
- 1
lib/ios/RNNBackButtonOptions.h Parādīt failu

@@ -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 Parādīt failu

@@ -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