Commit 1a685f33 authored by Ewann's avatar Ewann Committed by Chromium LUCI CQ

[iOS][Settings] Fixes Settings background

This CL fixes Settings background when kSettingsRefresh flag is disabled.

Bug: 922511, 1159765
Change-Id: I24c5a26d0a106408ac00df12f33ea0043e060b72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2596149
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Auto-Submit: Ewann Pellé <ewannpv@chromium.org>
Cr-Commit-Position: refs/heads/master@{#838114}
parent 2480509d
......@@ -115,6 +115,10 @@ const CGFloat kActivityIndicatorDimensionIPhone = 56;
#pragma mark - UIViewController
- (void)viewDidLoad {
if (!base::FeatureList::IsEnabled(kSettingsRefresh)) {
self.styler.tableViewBackgroundColor =
UIColor.cr_systemGroupedBackgroundColor;
}
UIBarButtonItem* flexibleSpace = [[UIBarButtonItem alloc]
initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace
target:nil
......
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