Reskin: Change the 2 notifications colors

This commit is contained in:
manuroe
2018-11-30 16:36:34 +01:00
parent 477361e474
commit ba51d3630f
7 changed files with 22 additions and 11 deletions
@@ -22,6 +22,7 @@
#import "MXEvent.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "MXRoomSummary+Riot.h"
@@ -108,7 +109,7 @@ static const CGFloat kDirectRoomBorderWidth = 3.0;
if (0 < roomCellData.notificationCount)
{
self.missedNotifAndUnreadIndicator.backgroundColor = roomCellData.highlightCount ? kRiotColorPinkRed : kRiotColorGreen;
self.missedNotifAndUnreadIndicator.backgroundColor = roomCellData.highlightCount ? RiotDesignValues.colorValues.notificationMention : RiotDesignValues.colorValues.notificationUnread;
self.missedNotifAndUnreadBadgeBgView.hidden = NO;
self.missedNotifAndUnreadBadgeBgView.backgroundColor = self.missedNotifAndUnreadIndicator.backgroundColor;