Bug 1474132 - Choose right add-on icon size in about:addons and install popup r=rpl

MozReview-Commit-ID: L5O2OwlK879

--HG--
extra : rebase_source : ee405d9a41a940f5a77df8eba2249ca9c9164101
This commit is contained in:
Oriol Brufau 2018-07-13 13:51:28 +02:00
parent e4580d39d9
commit a50c798f7a
2 changed files with 2 additions and 2 deletions

View File

@ -409,7 +409,7 @@ var ExtensionsUI = {
}; };
let icon = addon.isWebExtension ? let icon = addon.isWebExtension ?
addon.iconURL || DEFAULT_EXTENSION_ICON : AddonManager.getPreferredIconURL(addon, 32, window) || DEFAULT_EXTENSION_ICON :
"chrome://browser/skin/addons/addon-install-installed.svg"; "chrome://browser/skin/addons/addon-install-installed.svg";
let options = { let options = {
hideClose: true, hideClose: true,

View File

@ -914,7 +914,7 @@
this.setAttribute("name", aAddon.name); this.setAttribute("name", aAddon.name);
var iconURL = AddonManager.getPreferredIconURL(aAddon, 48, window); var iconURL = AddonManager.getPreferredIconURL(aAddon, 32, window);
if (iconURL) if (iconURL)
this._icon.src = iconURL; this._icon.src = iconURL;
else else