Prepare Dark theme - Handle table view cell customization

This commit is contained in:
Giom Foret
2017-08-08 16:05:43 +02:00
parent 7cc4afba2b
commit 01ede51919
44 changed files with 204 additions and 132 deletions
@@ -25,8 +25,6 @@
{
[super awakeFromNib];
_label.textColor = kRiotTextColorBlack;
// Adjust text view
// Remove the container inset: this operation impacts only the vertical margin.
// Reset textContainer.lineFragmentPadding to remove horizontal margin.
@@ -34,6 +32,14 @@
_textView.textContainer.lineFragmentPadding = 0;
}
- (void)customizeTableViewCellRendering
{
[super customizeTableViewCellRendering];
_label.textColor = kRiotTextColorBlack;
_textView.textColor = kRiotTextColorBlack;
}
- (void)layoutSubviews
{
[super layoutSubviews];