Commit b4be95bf authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! BB 43864: Modify the urlbar for Base Browser.

BB 44439: Remove translate action from urlbar.
parent 76d80caf
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -330,6 +330,12 @@ const DEFAULT_ACTIONS = {
        )
      );
    },
    // Remove the translate action. Bugzilla bug 1989252 means that the actions
    // still appears in the full list, despite isVisible being `false`. So we
    // explicitly remove it from the list instead. tor-browser#43864.
    disabled() {
      return !this.isVisible();
    },
    onPick: async (_queryContext, controller) => {
      await lazy.TranslationsParent.openAboutTranslationsPage({
        browserWindow: controller.browserWindow,