Verified Commit 6fa21461 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by boklm
Browse files

fixup! BB 41736: Customize toolbar for base-browser.

TB 44720: Move new identity to Tor Browser.

Do not add the new identity button anymore on Base Browser.
parent a0a3056d
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -383,7 +383,6 @@ var CustomizableUIInternal = {
      // Or if the change is only meant for tor-browser, bump kVersionTorBrowser
      // instead and update the existing saved states in _updateForTorBrowser.
      "security-level-button",
      "new-identity-button",
      "downloads-button",
      AppConstants.MOZ_DEV_EDITION ? "developer-button" : null,
      lazy.ippEnabled ? "ipprotection-button" : null,
@@ -1025,8 +1024,8 @@ var CustomizableUIInternal = {
          navbarPlacements.splice(before, 1);
        }

        // Make sure the security-level-button and new-identity-button appears
        // in the toolbar.
        // Make sure security-level-button and new-identity-button appear in the
        // toolbar.
        for (const id of ["new-identity-button", "security-level-button"]) {
          let alreadyAdded = false;
          for (const placements of Object.values(gSavedState.placements)) {