From 10034adb2e6970672759b8a6a2def251daf4c387 Mon Sep 17 00:00:00 2001 From: SBiOSoftWhare Date: Mon, 18 Feb 2019 15:31:56 +0100 Subject: [PATCH 1/2] Fix header tint color issue in SegmentedViewController. Fix #2260. --- .../SegmentedViewController.m | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Riot/Modules/Common/SegmentedViewController/SegmentedViewController.m b/Riot/Modules/Common/SegmentedViewController/SegmentedViewController.m index 7823d8c67..b49384752 100644 --- a/Riot/Modules/Common/SegmentedViewController/SegmentedViewController.m +++ b/Riot/Modules/Common/SegmentedViewController/SegmentedViewController.m @@ -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 From 47273253495b65007c31b404a0e61d1a96ef801a Mon Sep 17 00:00:00 2001 From: SBiOSoftWhare Date: Mon, 18 Feb 2019 15:34:21 +0100 Subject: [PATCH 2/2] Update changes --- CHANGES.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.rst b/CHANGES.rst index 1e8306636..cc1d8d505 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,7 @@ Changes in 0.8.1 (2019-02-) Bug fix: * Fix text color in room preview (PR #2261) * Fix navigation bar background after accepting an invite (PR #2261) + * Tabs at the top of Room Details are hard to see in dark theme (#2260). Changes in 0.8.0 (2019-02-15) ===============================================