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

This commit is contained in:
manuroe
2018-11-30 17:10:28 +01:00
parent 9fea29617e
commit a28271afcb
62 changed files with 170 additions and 111 deletions
@@ -18,6 +18,7 @@
#import "AttachmentsViewController.h"
#import "AppDelegate.h"
#import "Riot-Swift.h"
@interface AttachmentsViewController ()
{
@@ -63,7 +64,7 @@
self.view.backgroundColor = kRiotPrimaryBgColor;
self.activityIndicator.backgroundColor = kRiotOverlayColor;
self.backButton.tintColor = kRiotColorGreen;
self.backButton.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)viewWillAppear:(BOOL)animated
@@ -23,6 +23,7 @@
#import "MXKRoomBubbleTableViewCell+Riot.h"
#import "AvatarGenerator.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "MXRoom+Riot.h"
@@ -385,7 +386,7 @@
if ([component.event.eventId isEqualToString:self.room.accountData.readMarkerEventId])
{
bubbleCell.readMarkerView = [[UIView alloc] initWithFrame:CGRectMake(0, bottomPositionY - 2, bubbleCell.bubbleOverlayContainer.frame.size.width, 2)];
bubbleCell.readMarkerView.backgroundColor = kRiotColorGreen;
bubbleCell.readMarkerView.backgroundColor = RiotDesignValues.colorValues.accent;
// Hide by default the marker, it will be shown and animated when the cell will be rendered.
bubbleCell.readMarkerView.hidden = YES;
bubbleCell.readMarkerView.tag = index;
@@ -19,6 +19,7 @@
#import "RoomMemberDetailsViewController.h"
#import "AppDelegate.h"
#import "Riot-Swift.h"
#import "RoomMemberTitleView.h"
@@ -223,7 +224,7 @@
self.memberHeaderView.backgroundColor = kRiotSecondaryBgColor;
self.roomMemberNameLabel.textColor = kRiotPrimaryTextColor;
self.roomMemberStatusLabel.textColor = kRiotColorGreen;
self.roomMemberStatusLabel.textColor = RiotDesignValues.colorValues.accent;
// Check the table view style to select its bg color.
self.tableView.backgroundColor = ((self.tableView.style == UITableViewStylePlain) ? kRiotPrimaryBgColor : kRiotSecondaryBgColor);
@@ -1685,8 +1685,8 @@
- (void)refreshSearchBarItemsColor:(UISearchBar *)searchBar
{
// bar tint color
searchBar.barTintColor = searchBar.tintColor = kRiotColorGreen;
searchBar.tintColor = kRiotColorGreen;
searchBar.barTintColor = searchBar.tintColor = RiotDesignValues.colorValues.accent;
searchBar.tintColor = RiotDesignValues.colorValues.accent;
// FIXME: this all seems incredibly fragile and tied to gutwrenching the current UISearchBar internals.
@@ -1697,7 +1697,7 @@
// Magnifying glass icon.
UIImageView *leftImageView = (UIImageView *)searchBarTextField.leftView;
leftImageView.image = [leftImageView.image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
leftImageView.tintColor = kRiotColorGreen;
leftImageView.tintColor = RiotDesignValues.colorValues.accent;
// remove the gray background color
UIView *effectBackgroundTop = [searchBarTextField valueForKey:@"_effectBackgroundTop"];
@@ -1708,8 +1708,8 @@
// place holder
searchBarTextField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:searchBarTextField.placeholder
attributes:@{NSUnderlineStyleAttributeName: @(NSUnderlineStyleSingle),
NSUnderlineColorAttributeName: kRiotColorGreen,
NSForegroundColorAttributeName: kRiotColorGreen}];
NSUnderlineColorAttributeName: RiotDesignValues.colorValues.accent,
NSForegroundColorAttributeName: RiotDesignValues.colorValues.accent}];
}
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText
@@ -20,6 +20,7 @@
#import "RageShakeManager.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@interface ReadReceiptsViewController () <UITableViewDataSource, UITableViewDelegate>
{
@@ -106,7 +107,7 @@
// Check the table view style to select its bg color.
self.receiptsTableView.backgroundColor = ((self.receiptsTableView.style == UITableViewStylePlain) ? kRiotPrimaryBgColor : kRiotSecondaryBgColor);
self.closeButton.tintColor = kRiotColorGreen;
self.closeButton.tintColor = RiotDesignValues.colorValues.accent;
if (self.receiptsTableView.dataSource)
{
@@ -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];
@@ -29,6 +29,7 @@
#import "MXRoomSummary+Riot.h"
#import "AppDelegate.h"
#import "Riot-Swift.h"
#import "RoomMemberDetailsViewController.h"
@@ -2212,7 +2213,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
topicTextView.text = mxRoomState.topic;
}
topicTextView.tintColor = kRiotColorGreen;
topicTextView.tintColor = RiotDesignValues.colorValues.accent;
topicTextView.font = [UIFont systemFontOfSize:15];
topicTextView.bounces = NO;
topicTextView.delegate = self;
@@ -2241,7 +2242,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
nameTextField = roomNameCell.mxkTextField;
nameTextField.tintColor = kRiotColorGreen;
nameTextField.tintColor = RiotDesignValues.colorValues.accent;
nameTextField.font = [UIFont systemFontOfSize:17];
nameTextField.borderStyle = UITextBorderStyleNone;
nameTextField.textAlignment = NSTextAlignmentRight;
@@ -2319,7 +2320,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
[leaveCell.mxkButton setTitle:title forState:UIControlStateNormal];
[leaveCell.mxkButton setTitle:title forState:UIControlStateHighlighted];
[leaveCell.mxkButton setTintColor:kRiotColorGreen];
[leaveCell.mxkButton setTintColor:RiotDesignValues.colorValues.accent];
leaveCell.mxkButton.titleLabel.font = [UIFont systemFontOfSize:17];
[leaveCell.mxkButton removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
@@ -2508,7 +2509,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
addAddressTextField.text = currentValue;
addAddressTextField.textColor = kRiotSecondaryTextColor;
addAddressTextField.tintColor = kRiotColorGreen;
addAddressTextField.tintColor = RiotDesignValues.colorValues.accent;
addAddressTextField.font = [UIFont systemFontOfSize:17];
addAddressTextField.borderStyle = UITextBorderStyleNone;
addAddressTextField.textAlignment = NSTextAlignmentLeft;
@@ -2599,7 +2600,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
addGroupTextField.text = currentValue;
addGroupTextField.textColor = kRiotSecondaryTextColor;
addGroupTextField.tintColor = kRiotColorGreen;
addGroupTextField.tintColor = RiotDesignValues.colorValues.accent;
addGroupTextField.font = [UIFont systemFontOfSize:17];
addGroupTextField.borderStyle = UITextBorderStyleNone;
addGroupTextField.textAlignment = NSTextAlignmentLeft;
@@ -2671,7 +2672,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
MXKTableViewCellWithLabelAndSwitch *roomBlacklistUnverifiedDevicesCell = [self getLabelAndSwitchCell:tableView forIndexPath:indexPath];
[roomBlacklistUnverifiedDevicesCell.mxkSwitch addTarget:self action:@selector(toggleBlacklistUnverifiedDevice:) forControlEvents:UIControlEventValueChanged];
roomBlacklistUnverifiedDevicesCell.mxkSwitch.onTintColor = kRiotColorGreen;
roomBlacklistUnverifiedDevicesCell.mxkSwitch.onTintColor = RiotDesignValues.colorValues.accent;
roomBlacklistUnverifiedDevicesCell.mxkLabel.text = NSLocalizedStringFromTable(@"room_details_advanced_e2e_encryption_blacklist_unverified_devices", @"Vector", nil);
@@ -2802,7 +2803,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
cell.mxkLabel.textColor = kRiotPrimaryTextColor;
cell.mxkSwitch.onTintColor = kRiotColorGreen;
cell.mxkSwitch.onTintColor = RiotDesignValues.colorValues.accent;
[cell.mxkSwitch removeTarget:self action:nil forControlEvents:UIControlEventValueChanged];
// Reset the stored `directoryVisibilitySwitch` if the corresponding cell is reused.
@@ -18,6 +18,7 @@
#import "RoomIncomingAttachmentBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingAttachmentBubbleCell
@@ -26,7 +27,7 @@
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomIncomingAttachmentWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingAttachmentWithPaginationTitleBubbleCell
@@ -27,9 +28,9 @@
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.messageTextView.tintColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomIncomingAttachmentWithoutSenderInfoBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingAttachmentWithoutSenderInfoBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomIncomingTextMsgBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingTextMsgBubbleCell
@@ -26,7 +27,7 @@
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomIncomingTextMsgWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingTextMsgWithPaginationTitleBubbleCell
@@ -27,9 +28,9 @@
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.messageTextView.tintColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomIncomingTextMsgWithPaginationTitleWithoutSenderNameBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingTextMsgWithPaginationTitleWithoutSenderNameBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomIncomingTextMsgWithoutSenderInfoBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingTextMsgWithoutSenderInfoBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomIncomingTextMsgWithoutSenderNameBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingTextMsgWithoutSenderNameBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -17,6 +17,7 @@
#import "RoomMembershipBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -40,7 +41,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)prepareForReuse
@@ -18,6 +18,7 @@
#import "RoomMembershipCollapsedBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -29,7 +30,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)layoutSubviews
@@ -17,6 +17,7 @@
#import "RoomMembershipCollapsedWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -26,8 +27,8 @@
{
[super customizeTableViewCellRendering];
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -17,6 +17,7 @@
#import "RoomMembershipExpandedBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -39,7 +40,7 @@ NSString *const kRoomMembershipExpandedBubbleCellTapOnCollapseButton = @"kRoomMe
self.separatorView.backgroundColor = kRiotSecondaryBgColor;
[self.collapseButton setTintColor:kRiotColorGreen];
[self.collapseButton setTintColor:RiotDesignValues.colorValues.accent];
self.collapseButton.titleLabel.font = [UIFont systemFontOfSize:14];
}
@@ -17,6 +17,7 @@
#import "RoomMembershipExpandedWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -26,8 +27,8 @@
{
[super customizeTableViewCellRendering];
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -17,6 +17,7 @@
#import "RoomMembershipWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -26,8 +27,8 @@
{
[super customizeTableViewCellRendering];
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomOutgoingAttachmentBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingAttachmentBubbleCell
@@ -26,7 +27,7 @@
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomOutgoingAttachmentWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingAttachmentWithPaginationTitleBubbleCell
@@ -27,9 +28,9 @@
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.messageTextView.tintColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomOutgoingAttachmentWithoutSenderInfoBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingAttachmentWithoutSenderInfoBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomOutgoingTextMsgBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingTextMsgBubbleCell
@@ -26,7 +27,7 @@
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomOutgoingTextMsgWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingTextMsgWithPaginationTitleBubbleCell
@@ -25,8 +26,8 @@
{
[super customizeTableViewCellRendering];
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomOutgoingTextMsgWithoutSenderInfoBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingTextMsgWithoutSenderInfoBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -17,6 +17,7 @@
#import "EventDetailsView.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation EventDetailsView
@@ -27,8 +28,8 @@
self.backgroundColor = kRiotSecondaryBgColor;
self.textView.backgroundColor = kRiotPrimaryBgColor;
self.textView.textColor = kRiotPrimaryTextColor;
self.redactButton.tintColor = kRiotColorGreen;
self.closeButton.tintColor = kRiotColorGreen;
self.redactButton.tintColor = RiotDesignValues.colorValues.accent;
self.closeButton.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -17,6 +17,7 @@
#import "DisabledRoomInputToolbarView.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation DisabledRoomInputToolbarView
@@ -51,7 +52,7 @@
self.disabledReasonTextView.font = [UIFont systemFontOfSize:15];
self.disabledReasonTextView.textColor = kRiotPrimaryTextColor;
self.disabledReasonTextView.tintColor = kRiotColorGreen;
self.disabledReasonTextView.tintColor = RiotDesignValues.colorValues.accent;
self.disabledReasonTextView.editable = NO;
self.disabledReasonTextView.scrollEnabled = NO;
}
@@ -18,6 +18,7 @@
#import "RoomInputToolbarView.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "GBDeviceInfo_iOS.h"
@@ -71,8 +72,8 @@
self.rightInputToolbarButton.hidden = YES;
[self.rightInputToolbarButton setTitleColor:kRiotColorGreen forState:UIControlStateNormal];
[self.rightInputToolbarButton setTitleColor:kRiotColorGreen forState:UIControlStateHighlighted];
[self.rightInputToolbarButton setTitleColor:RiotDesignValues.colorValues.accent forState:UIControlStateNormal];
[self.rightInputToolbarButton setTitleColor:RiotDesignValues.colorValues.accent forState:UIControlStateHighlighted];
self.isEncryptionEnabled = _isEncryptionEnabled;
}
@@ -95,7 +96,7 @@
growingTextView.font = [UIFont systemFontOfSize:15];
growingTextView.textColor = kRiotPrimaryTextColor;
growingTextView.tintColor = kRiotColorGreen;
growingTextView.tintColor = RiotDesignValues.colorValues.accent;
growingTextView.internalTextView.keyboardAppearance = kRiotKeyboard;
}
@@ -18,6 +18,7 @@
#import "ExpandedRoomTitleView.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "MXRoomSummary+Riot.h"
@@ -39,7 +40,7 @@
[super customizeViewRendering];
self.roomTopic.textColor = kRiotTopicTextColor;
self.roomMembers.textColor = kRiotColorGreen;
self.roomMembers.textColor = RiotDesignValues.colorValues.accent;
}
- (void)refreshDisplay
@@ -19,6 +19,7 @@
#import "PreviewRoomTitleView.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "MXRoomSummary+Riot.h"
@@ -68,7 +69,7 @@
self.roomTopic.textColor = kRiotTopicTextColor;
self.roomMembers.textColor = kRiotColorGreen;
self.roomMembers.textColor = RiotDesignValues.colorValues.accent;
self.previewLabel.textColor = kRiotTopicTextColor;
self.previewLabel.numberOfLines = 0;
@@ -80,11 +81,11 @@
[self.leftButton.layer setCornerRadius:5];
self.leftButton.clipsToBounds = YES;
self.leftButton.backgroundColor = kRiotColorGreen;
self.leftButton.backgroundColor = RiotDesignValues.colorValues.accent;
[self.rightButton.layer setCornerRadius:5];
self.rightButton.clipsToBounds = YES;
self.rightButton.backgroundColor = kRiotColorGreen;
self.rightButton.backgroundColor = RiotDesignValues.colorValues.accent;
}
- (void)refreshDisplay