mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
reskin: rename ColorValues to Theme
This commit is contained in:
@@ -72,7 +72,7 @@ static const CGFloat kDirectRoomBorderWidth = 3.0;
|
||||
self.missedNotifAndUnreadBadgeLabel.textColor = kRiotPrimaryBgColor;
|
||||
|
||||
// Prepare direct room border
|
||||
CGColorRef directRoomBorderColor = CGColorCreateCopyWithAlpha(RiotDesignValues.colorValues.tintColor.CGColor, kDirectRoomBorderColorAlpha);
|
||||
CGColorRef directRoomBorderColor = CGColorCreateCopyWithAlpha(RiotDesignValues.theme.tintColor.CGColor, kDirectRoomBorderColorAlpha);
|
||||
|
||||
[self.directRoomBorderView.layer setCornerRadius:self.directRoomBorderView.frame.size.width / 2];
|
||||
self.directRoomBorderView.clipsToBounds = YES;
|
||||
@@ -126,7 +126,7 @@ static const CGFloat kDirectRoomBorderWidth = 3.0;
|
||||
if (0 < roomCellData.notificationCount)
|
||||
{
|
||||
self.missedNotifAndUnreadBadgeBgView.hidden = NO;
|
||||
self.missedNotifAndUnreadBadgeBgView.backgroundColor = roomCellData.highlightCount ? RiotDesignValues.colorValues.notificationMentionColor : RiotDesignValues.colorValues.notificationUnreadColor;
|
||||
self.missedNotifAndUnreadBadgeBgView.backgroundColor = roomCellData.highlightCount ? RiotDesignValues.theme.notificationMentionColor : RiotDesignValues.theme.notificationUnreadColor;
|
||||
|
||||
self.missedNotifAndUnreadBadgeLabel.text = roomCellData.notificationCountStringValue;
|
||||
[self.missedNotifAndUnreadBadgeLabel sizeToFit];
|
||||
@@ -147,7 +147,7 @@ static const CGFloat kDirectRoomBorderWidth = 3.0;
|
||||
else if (roomCellData.roomSummary.room.summary.membership == MXMembershipInvite)
|
||||
{
|
||||
self.missedNotifAndUnreadBadgeBgView.hidden = NO;
|
||||
self.missedNotifAndUnreadBadgeBgView.backgroundColor = RiotDesignValues.colorValues.notificationMentionColor;
|
||||
self.missedNotifAndUnreadBadgeBgView.backgroundColor = RiotDesignValues.theme.notificationMentionColor;
|
||||
|
||||
self.missedNotifAndUnreadBadgeLabel.text = @"!";
|
||||
[self.missedNotifAndUnreadBadgeLabel sizeToFit];
|
||||
|
||||
Reference in New Issue
Block a user