Browse Source

fix button.color

yogevbd 6 years ago
parent
commit
024c46fc36
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/ios/RNNNavigationButtons.m

+ 1
- 1
lib/ios/RNNNavigationButtons.m View File

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