yogevbd il y a 6 ans
Parent
révision
887d39bda0
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5
    0
      lib/ios/RNNNavigationButtons.m

+ 5
- 0
lib/ios/RNNNavigationButtons.m Voir le fichier

@@ -94,6 +94,11 @@
94 94
 		[barButtonItem setImage:[barButtonItem.image imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]];
95 95
 	}
96 96
 	
97
+	id tintColor = dictionary[@"tintColor"];
98
+	if (tintColor) {
99
+		[barButtonItem setTintColor:[RCTConvert UIColor: tintColor]];
100
+	}
101
+	
97 102
 	NSString *testID = dictionary[@"testID"];
98 103
 	if (testID)
99 104
 	{