Commit 69b0bdb9 authored by Ewann's avatar Ewann Committed by Commit Bot

[iOS][Chromne-Guard] Tints checkmark in the cookies view

This Cl tints the checkmark image present in the cookies view.

Bug: 1063824
Change-Id: I549d7f9456c34aa38f1b053ad3680e0a5d6dfb46
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2253747
Commit-Queue: Ewann Pellé <ewannpv@chromium.org>
Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781241}
parent f2e0b359
...@@ -152,8 +152,10 @@ typedef NS_ENUM(NSInteger, SectionIdentifier) { ...@@ -152,8 +152,10 @@ typedef NS_ENUM(NSInteger, SectionIdentifier) {
.iconImageName = @"accessory_no_checkmark"; .iconImageName = @"accessory_no_checkmark";
} }
self.selectedCookiesItem = [self.tableViewModel itemAtIndexPath:indexPath]; self.selectedCookiesItem = [self.tableViewModel itemAtIndexPath:indexPath];
static_cast<TableViewInfoButtonItem*>(self.selectedCookiesItem) TableViewInfoButtonItem* selectedItem =
.iconImageName = @"accessory_checkmark"; static_cast<TableViewInfoButtonItem*>(self.selectedCookiesItem);
selectedItem.iconImageName = @"accessory_checkmark";
selectedItem.tintColor = [UIColor colorNamed:kBlueColor];
if (previousSelectedCookiesItem) if (previousSelectedCookiesItem)
[self reconfigureCellsForItems:@[ [self reconfigureCellsForItems:@[
......
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