yogevbd 6 лет назад
Родитель
Сommit
887d39bda0
1 измененных файлов: 5 добавлений и 0 удалений
  1. 5
    0
      lib/ios/RNNNavigationButtons.m

+ 5
- 0
lib/ios/RNNNavigationButtons.m Просмотреть файл

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