Update ShowConnections.plugin.js
This commit is contained in:
parent
235f8bdb1b
commit
c1999df032
|
@ -2,7 +2,7 @@
|
||||||
* @name ShowConnections
|
* @name ShowConnections
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 1.0.6
|
* @version 1.0.7
|
||||||
* @description Shows the connected Accounts of a User in the UserPopout
|
* @description Shows the connected Accounts of a User in the UserPopout
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -17,12 +17,12 @@ module.exports = (_ => {
|
||||||
"info": {
|
"info": {
|
||||||
"name": "ShowConnections",
|
"name": "ShowConnections",
|
||||||
"author": "DevilBro",
|
"author": "DevilBro",
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"description": "Shows the connected Accounts of a User in the UserPopout"
|
"description": "Shows the connected Accounts of a User in the UserPopout"
|
||||||
},
|
},
|
||||||
"changeLog": {
|
"changeLog": {
|
||||||
"improved": {
|
"fixed": {
|
||||||
"Performance": ""
|
"Icons": "Show again"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -169,8 +169,8 @@ module.exports = (_ => {
|
||||||
label: this.defaults.connections[key].name,
|
label: this.defaults.connections[key].name,
|
||||||
value: this.settings.connections[key],
|
value: this.settings.connections[key],
|
||||||
labelChildren: [
|
labelChildren: [
|
||||||
BDFDB.ReactUtils.createElement("img", {style: {width: 28, height: 28}, src: this.defaults.connections[key].icon.color}),
|
BDFDB.ReactUtils.createElement("img", {style: {width: 28, height: 28}, src: this.defaults.connections[key].icon.lightSVG}),
|
||||||
BDFDB.ReactUtils.createElement("img", {style: {width: 28, height: 28}, src: this.defaults.connections[key].icon.white})
|
BDFDB.ReactUtils.createElement("img", {style: {width: 28, height: 28}, src: this.defaults.connections[key].icon.whiteSVG})
|
||||||
]
|
]
|
||||||
}))
|
}))
|
||||||
}));
|
}));
|
||||||
|
@ -222,7 +222,7 @@ module.exports = (_ => {
|
||||||
BDFDB.ReactUtils.createElement("img", {
|
BDFDB.ReactUtils.createElement("img", {
|
||||||
className: BDFDB.disCN._showconnectionsicon,
|
className: BDFDB.disCN._showconnectionsicon,
|
||||||
alt: BDFDB.LanguageUtils.LanguageStringsFormat("IMG_ALT_LOGO", provider.name),
|
alt: BDFDB.LanguageUtils.LanguageStringsFormat("IMG_ALT_LOGO", provider.name),
|
||||||
src: provider.icon[_this.settings.general.useColoredIcons ? "color" : "white"]
|
src: provider.icon[_this.settings.general.useColoredIcons ? "lightSVG" : "whiteSVG"]
|
||||||
}),
|
}),
|
||||||
_this.settings.general.showVerifiedBadge && c.verified && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, {
|
_this.settings.general.showVerifiedBadge && c.verified && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, {
|
||||||
text: BDFDB.LanguageUtils.LanguageStrings.CONNECTION_VERIFIED,
|
text: BDFDB.LanguageUtils.LanguageStrings.CONNECTION_VERIFIED,
|
||||||
|
|
Loading…
Reference in New Issue