Commit 92746870 authored by sczs's avatar sczs Committed by Commit Bot

[ios] Changes ChromeTableVC separator color.

Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I312851c5408ad34f690dc0b456612506350d8be7
Reviewed-on: https://chromium-review.googlesource.com/1116347Reviewed-by: default avataredchin <edchin@chromium.org>
Commit-Queue: Sergio Collazos <sczs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570780}
parent 88db890a
......@@ -12,12 +12,18 @@
#import "ios/chrome/browser/ui/table_view/table_view_empty_view.h"
#import "ios/chrome/browser/ui/table_view/table_view_loading_view.h"
#import "ios/chrome/browser/ui/table_view/table_view_model.h"
#import "ios/chrome/browser/ui/uikit_ui_util.h"
#import "ios/third_party/material_components_ios/src/components/AppBar/src/MaterialAppBar.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
namespace {
// Color of the TableView separators.
const CGFloat kTableViewSeparatorColor = 0xC8C7CC;
}
@interface ChromeTableViewController ()
// The loading displayed by [self startLoadingIndicatorWithLoadingMessage:].
@property(nonatomic, strong) TableViewLoadingView* loadingView;
......@@ -78,7 +84,7 @@
[super viewDidLoad];
[self.tableView setBackgroundColor:self.styler.tableViewBackgroundColor];
[self.tableView setSeparatorColor:[UIColor lightGrayColor]];
[self.tableView setSeparatorColor:UIColorFromRGB(kTableViewSeparatorColor)];
[self.tableView setSeparatorInset:UIEdgeInsetsMake(0, 56, 0, 0)];
// Configure the app bar if needed.
......
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