mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 13:43:04 -05:00
Remove unusted patch patches/unified-extensions-dont-show-recommendations.patch (!82)
Reviewed-on: https://codeberg.org/librewolf/source/pulls/82 Co-authored-by: Sertonix <sertonix@posteo.net> Co-committed-by: Sertonix <sertonix@posteo.net>
This commit is contained in:
parent
3f3416a390
commit
60d6a5f3be
1 changed files with 0 additions and 25 deletions
|
@ -1,25 +0,0 @@
|
|||
# Backport of https://phabricator.services.mozilla.com/D169570
|
||||
# Should land in 112.0
|
||||
--- a/browser/base/content/browser-addons.js
|
||||
+++ b/browser/base/content/browser-addons.js
|
||||
@@ -1472,11 +1472,19 @@
|
||||
}
|
||||
|
||||
// The button should directly open `about:addons` when the user does not
|
||||
// have any active extensions listed in the unified extensions panel.
|
||||
if (!this.hasExtensionsInPanel()) {
|
||||
- await BrowserOpenAddonsMgr("addons://discover/");
|
||||
+ let viewID;
|
||||
+ if (
|
||||
+ Services.prefs.getBoolPref("extensions.getAddons.showPane", true)
|
||||
+ ) {
|
||||
+ viewID = "addons://discover/";
|
||||
+ } else {
|
||||
+ viewID = "addons://list/extension";
|
||||
+ }
|
||||
+ await BrowserOpenAddonsMgr(viewID);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
let panel = this.panel;
|
Loading…
Reference in a new issue