Commit 9b180958 authored by Jérôme Lebel's avatar Jérôme Lebel Committed by Commit Bot

[iOS] Remove background color for text in TableViewImageItem

Removing the background color for image view, and the text cell.

Before:
https://drive.google.com/open?id=1T01IhXHKK-CwBjijghpBRYkRwPWxoMEj
After:
https://drive.google.com/open?id=1_IeyemBl9mptpUZoTTqiTESy7Nnbl8bV

Bug: 984985
Change-Id: I0fbcbf392dfc177ca42ac1828bbd84a285df7220
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1706696
Auto-Submit: Jérôme Lebel <jlebel@chromium.org>
Reviewed-by: default avatarSergio Collazos <sczs@chromium.org>
Commit-Queue: Sergio Collazos <sczs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#678344}
parent d570eecf
...@@ -45,11 +45,6 @@ ...@@ -45,11 +45,6 @@
cell.textLabel.text = self.title; cell.textLabel.text = self.title;
cell.detailTextLabel.text = self.detailText; cell.detailTextLabel.text = self.detailText;
UIColor* cellBackgroundColor = styler.cellBackgroundColor
? styler.cellBackgroundColor
: styler.tableViewBackgroundColor;
cell.imageView.backgroundColor = cellBackgroundColor;
cell.textLabel.backgroundColor = cellBackgroundColor;
if (self.textColor) { if (self.textColor) {
cell.textLabel.textColor = self.textColor; cell.textLabel.textColor = self.textColor;
} else if (styler.cellTitleColor) { } else if (styler.cellTitleColor) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment