reskin: kill kRiotPrimaryTextColor

This commit is contained in:
manuroe
2019-01-10 18:00:45 +01:00
parent 6eeeb2f8d6
commit 3518ffea04
56 changed files with 115 additions and 111 deletions
@@ -356,7 +356,7 @@
[roomReplacementAttributedString appendAttributedString:roomLinkAttributedString];
NSRange wholeStringRange = NSMakeRange(0, roomReplacementAttributedString.length);
[roomReplacementAttributedString addAttribute:NSForegroundColorAttributeName value:kRiotPrimaryTextColor range:wholeStringRange];
[roomReplacementAttributedString addAttribute:NSForegroundColorAttributeName value:RiotDesignValues.theme.textPrimaryColor range:wholeStringRange];
self.messageTextView.attributedText = roomReplacementAttributedString;
}
@@ -365,7 +365,7 @@
self.messageTextView.text = NSLocalizedStringFromTable(@"room_replacement_information", @"Vector", nil);
}
self.messageTextView.tintColor = kRiotPrimaryTextColor;
self.messageTextView.tintColor = RiotDesignValues.theme.textPrimaryColor;
self.messageTextView.hidden = NO;
self.messageTextView.backgroundColor = [UIColor clearColor];