Bläddra i källkod

fix button.color

yogevbd 7 år sedan
förälder
incheckning
024c46fc36
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      lib/ios/RNNNavigationButtons.m

+ 1
- 1
lib/ios/RNNNavigationButtons.m Visa fil

109
 	UIColor* color = [self color:dictionary[@"color"] defaultColor:defaultStyle.color];
109
 	UIColor* color = [self color:dictionary[@"color"] defaultColor:defaultStyle.color];
110
 	if (color) {
110
 	if (color) {
111
 		[textAttributes setObject:color forKey:NSForegroundColorAttributeName];
111
 		[textAttributes setObject:color forKey:NSForegroundColorAttributeName];
112
-		[barButtonItem setImage:[iconImage imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]];
112
+		[barButtonItem setImage:iconImage];
113
 		[barButtonItem setTintColor:color];
113
 		[barButtonItem setTintColor:color];
114
 	}
114
 	}
115
 	
115