Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead

This commit is contained in:
manuroe
2018-11-30 17:10:28 +01:00
parent ba51d3630f
commit 6ad603a6ca
62 changed files with 170 additions and 111 deletions

View File

@@ -20,6 +20,7 @@
#import "RoomBubbleCellData.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "MXKRoomBubbleTableViewCell+Riot.h"
@@ -68,7 +69,7 @@
if (cellData)
{
// Highlight the search pattern
[cellData highlightPatternInTextMessage:self.searchText withForegroundColor:kRiotColorGreen andFont:patternFont];
[cellData highlightPatternInTextMessage:self.searchText withForegroundColor:RiotDesignValues.colorValues.accent andFont:patternFont];
// Use profile information as data to display
MXSearchUserProfile *userProfile = result.context.profileInfo[result.result.sender];