Commit ff38a76d authored by henry's avatar henry Committed by morgan
Browse files

fixup! BB 44711: Hide unwanted setting controls in Base Browser.

BB 45209: Replace "Account and sync" with "Profiles".
parent b5830036
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -819,7 +819,8 @@ SettingGroupManager.registerGroups({
  }),
  accountDisabled: {
    inProgress: true,
    hidden: accountsEnabled,
    // Hide the "disabled" banner unconditionally. tor-browser#45209.
    hidden: true,
    items: [
      {
        id: "fxaAccountDisabled",
+6 −2
Original line number Diff line number Diff line
@@ -429,7 +429,9 @@ const CONFIG_PANES = Object.freeze({
    replaces: "search",
  },
  sync: {
    l10nId: "account-sync-section",
    // Switch the category name to remove mention of "Account and sync".
    // tor-browser#45209.
    l10nId: "profiles-no-account-sync-section",
    iconSrc: "chrome://browser/skin/fxa/avatar-empty.svg",
    groupIds: [
      "defaultBrowserSync",
@@ -566,7 +568,9 @@ function init_all() {
  );
  let categorySync = document.getElementById("category-sync");
  if (redesignEnabled) {
    categorySync.setAttribute("data-l10n-id", "pane-account-sync-title2");
    // Switch the category name to remove mention of "Account and sync".
    // tor-browser#45209.
    categorySync.setAttribute("data-l10n-id", "pane-profiles-no-account-sync");
    categorySync.iconSrc = "chrome://browser/skin/fxa/avatar-empty.svg";
    categorySync.hidden = false;
  } else if (accountsEnabled) {