mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Fix header tint color issue in SegmentedViewController. Fix #2260.
This commit is contained in:
@@ -127,6 +127,24 @@
|
||||
return viewControllers;
|
||||
}
|
||||
|
||||
- (void)setSectionHeaderTintColor:(UIColor *)sectionHeaderTintColor
|
||||
{
|
||||
if (_sectionHeaderTintColor != sectionHeaderTintColor)
|
||||
{
|
||||
_sectionHeaderTintColor = sectionHeaderTintColor;
|
||||
|
||||
if (selectedMarkerView)
|
||||
{
|
||||
selectedMarkerView.backgroundColor = sectionHeaderTintColor;
|
||||
}
|
||||
|
||||
for (UILabel *label in sectionLabels)
|
||||
{
|
||||
label.textColor = sectionHeaderTintColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
||||
- (void)finalizeInit
|
||||
|
||||
Reference in New Issue
Block a user