Fix
This commit is contained in:
parent
9e3d207b08
commit
859d93a288
|
@ -4,7 +4,7 @@ var EditUsers = (_ => {
|
||||||
return class EditUsers {
|
return class EditUsers {
|
||||||
getName () {return "EditUsers";}
|
getName () {return "EditUsers";}
|
||||||
|
|
||||||
getVersion () {return "3.6.9";}
|
getVersion () {return "3.7.0";}
|
||||||
|
|
||||||
getAuthor () {return "DevilBro";}
|
getAuthor () {return "DevilBro";}
|
||||||
|
|
||||||
|
@ -764,8 +764,8 @@ var EditUsers = (_ => {
|
||||||
if (!BDFDB.ArrayUtils.is(children) || !userId) return;
|
if (!BDFDB.ArrayUtils.is(children) || !userId) return;
|
||||||
let data = BDFDB.DataUtils.load(this, "users", userId);
|
let data = BDFDB.DataUtils.load(this, "users", userId);
|
||||||
if (data && data.tag) {
|
if (data && data.tag) {
|
||||||
let fontColor = inverted ? data.color4 : data.color3;
|
let fontColor = !inverted ? data.color4 : data.color3;
|
||||||
let backgroundColor = inverted ? data.color3 : data.color4;
|
let backgroundColor = !inverted ? data.color3 : data.color4;
|
||||||
let fontGradient = BDFDB.ObjectUtils.is(fontColor);
|
let fontGradient = BDFDB.ObjectUtils.is(fontColor);
|
||||||
children.splice(insertIndex, 0, BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.BotTag, {
|
children.splice(insertIndex, 0, BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.BotTag, {
|
||||||
className: botClass,
|
className: botClass,
|
||||||
|
@ -1442,4 +1442,4 @@ var EditUsers = (_ => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in New Issue