We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1a3fa5 commit b9d7870Copy full SHA for b9d7870
ios/RNCSegmentedControl.m
@@ -60,15 +60,6 @@ - (void)setTintColor:(UIColor *)tintColor {
60
__IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_13_0
61
if (@available(iOS 13.0, *)) {
62
[self setSelectedSegmentTintColor:tintColor];
63
- NSDictionary *attributes = [NSDictionary
64
- dictionaryWithObjectsAndKeys:tintColor, NSForegroundColorAttributeName,
65
- nil];
66
- NSDictionary *activeAttributes = [NSDictionary
67
- dictionaryWithObjectsAndKeys:UIColor.labelColor,
68
- NSForegroundColorAttributeName, nil];
69
- [self setTitleTextAttributes:attributes forState:UIControlStateNormal];
70
- [self setTitleTextAttributes:activeAttributes
71
- forState:UIControlStateSelected];
72
}
73
#endif
74
0 commit comments