mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Reskin: Use current style color constants for section headers
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#import "ContactTableViewCell.h"
|
||||
|
||||
#import "RiotDesignValues.h"
|
||||
#import "Riot-Swift.h"
|
||||
|
||||
#define CONTACTSDATASOURCE_LOCALCONTACTS_BITWISE 0x01
|
||||
#define CONTACTSDATASOURCE_USERDIRECTORY_BITWISE 0x02
|
||||
@@ -741,10 +742,10 @@
|
||||
NSString *roomCount = [NSString stringWithFormat:roomCountFormat, count];
|
||||
|
||||
NSMutableAttributedString *mutableSectionTitle = [[NSMutableAttributedString alloc] initWithString:title
|
||||
attributes:@{NSForegroundColorAttributeName : kRiotPrimaryTextColor,
|
||||
attributes:@{NSForegroundColorAttributeName : RiotDesignValues.colorValues.headerTextPrimary,
|
||||
NSFontAttributeName: [UIFont boldSystemFontOfSize:15.0]}];
|
||||
[mutableSectionTitle appendAttributedString:[[NSMutableAttributedString alloc] initWithString:roomCount
|
||||
attributes:@{NSForegroundColorAttributeName : kRiotAuxiliaryColor,
|
||||
attributes:@{NSForegroundColorAttributeName : RiotDesignValues.colorValues.headerTextSecondary,
|
||||
NSFontAttributeName: [UIFont boldSystemFontOfSize:15.0]}]];
|
||||
|
||||
sectionTitle = mutableSectionTitle;
|
||||
@@ -752,7 +753,7 @@
|
||||
else if (title)
|
||||
{
|
||||
sectionTitle = [[NSAttributedString alloc] initWithString:title
|
||||
attributes:@{NSForegroundColorAttributeName : kRiotPrimaryTextColor,
|
||||
attributes:@{NSForegroundColorAttributeName : RiotDesignValues.colorValues.headerTextPrimary,
|
||||
NSFontAttributeName: [UIFont boldSystemFontOfSize:15.0]}];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user