Update ShowConnections.plugin.js
This commit is contained in:
parent
235f8bdb1b
commit
c1999df032
|
@ -2,7 +2,7 @@
|
|||
* @name ShowConnections
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 1.0.6
|
||||
* @version 1.0.7
|
||||
* @description Shows the connected Accounts of a User in the UserPopout
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -17,12 +17,12 @@ module.exports = (_ => {
|
|||
"info": {
|
||||
"name": "ShowConnections",
|
||||
"author": "DevilBro",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.7",
|
||||
"description": "Shows the connected Accounts of a User in the UserPopout"
|
||||
},
|
||||
"changeLog": {
|
||||
"improved": {
|
||||
"Performance": ""
|
||||
"fixed": {
|
||||
"Icons": "Show again"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -169,8 +169,8 @@ module.exports = (_ => {
|
|||
label: this.defaults.connections[key].name,
|
||||
value: this.settings.connections[key],
|
||||
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.white})
|
||||
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.whiteSVG})
|
||||
]
|
||||
}))
|
||||
}));
|
||||
|
@ -222,7 +222,7 @@ module.exports = (_ => {
|
|||
BDFDB.ReactUtils.createElement("img", {
|
||||
className: BDFDB.disCN._showconnectionsicon,
|
||||
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, {
|
||||
text: BDFDB.LanguageUtils.LanguageStrings.CONNECTION_VERIFIED,
|
||||
|
|
Loading…
Reference in New Issue