yogevbd 6 anos atrás
pai
commit
887d39bda0
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5
    0
      lib/ios/RNNNavigationButtons.m

+ 5
- 0
lib/ios/RNNNavigationButtons.m Ver arquivo

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