Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions ios/RNCSegmentedControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@ - (void)setTintColor:(UIColor *)tintColor {
__IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_13_0
if (@available(iOS 13.0, *)) {
[self setSelectedSegmentTintColor:tintColor];
NSDictionary *attributes = [NSDictionary
dictionaryWithObjectsAndKeys:tintColor, NSForegroundColorAttributeName,
nil];
NSDictionary *activeAttributes = [NSDictionary
dictionaryWithObjectsAndKeys:UIColor.labelColor,
NSForegroundColorAttributeName, nil];
[self setTitleTextAttributes:attributes forState:UIControlStateNormal];
[self setTitleTextAttributes:activeAttributes
forState:UIControlStateSelected];
}
#endif
}
Expand Down