Commit 927e8f8c authored by rbpotter's avatar rbpotter Committed by Commit Bot

SplitSettings cleanup: Remove use of showOSSettings flag from basic_page

Bug: 986596
Change-Id: I289faebea8b6e7300394045c4ede267d2b2d2fa4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1992620Reviewed-by: default avatarDan Beam <dbeam@chromium.org>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#729545}
parent 111e5642
...@@ -233,11 +233,6 @@ Polymer({ ...@@ -233,11 +233,6 @@ Polymer({
if (!this.prefs || !this.currentRoute_) { if (!this.prefs || !this.currentRoute_) {
return; return;
} }
// Don't show the banner when SplitSettings is disabled (and hence this page
// is already showing OS settings).
if (loadTimeData.getBoolean('showOSSettings')) {
return false;
}
const showPref = /** @type {boolean} */ ( const showPref = /** @type {boolean} */ (
this.getPref('settings.cros.show_os_banner').value); this.getPref('settings.cros.show_os_banner').value);
......
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