stuff
This commit is contained in:
parent
8c4a11396c
commit
6c70028832
|
@ -2,7 +2,7 @@
|
|||
* @name LastMessageDate
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 1.4.3
|
||||
* @version 1.4.4
|
||||
* @description Displays the Last Message Date of a Member for the current Server/DM in the UserPopout and UserModal
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -102,13 +102,14 @@ module.exports = (_ => {
|
|||
nativeClass: false,
|
||||
name: BDFDB.LibraryComponents.SvgIcon.Names.NUMPAD
|
||||
});
|
||||
return BDFDB.ReactUtils.createElement(!this.props.isInPopout ? "section" : "div", {
|
||||
className: !this.props.isInPopout && BDFDB.disCN.userprofilesection,
|
||||
return BDFDB.ReactUtils.createElement("section", {
|
||||
className: BDFDB.disCN.userprofilesection,
|
||||
children: [
|
||||
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Heading, {
|
||||
className: this.props.isInPopout ? BDFDB.disCN.userpopoutsectiontitle : BDFDB.disCN.userprofilesectionheading,
|
||||
variant: this.props.isInPopout ? "eyebrow" : "text-xs/semibold",
|
||||
style: this.props.isInPopout ? {} : {color: "var(--header-secondary)"},
|
||||
className: BDFDB.disCN.userprofilesectionheading,
|
||||
variant: "text-xs/semibold",
|
||||
style: {color: "var(--header-secondary)"},
|
||||
color: null,
|
||||
children: _this.labels.last_message
|
||||
}),
|
||||
BDFDB.ReactUtils.createElement(loadedUsers[this.props.guildId][this.props.user.id] ? BDFDB.LibraryComponents.Clickable : "div", {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @name ShowConnections
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 1.2.3
|
||||
* @version 1.2.4
|
||||
* @description Shows the connected Accounts of a User in the UserPopout
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -78,12 +78,13 @@ module.exports = (_ => {
|
|||
let connections = loadedUsers[this.props.user.id].filter(c => _this.settings.connections[c.type]);
|
||||
if (!connections.length) return null;
|
||||
let isLightTheme = (!this.props.theme || this.props.theme == "light") && BDFDB.DiscordUtils.getTheme() == BDFDB.disCN.themelight;
|
||||
return BDFDB.ReactUtils.createElement("div", {
|
||||
className: BDFDB.DOMUtils.formatClassName(!this.props.isSimplified && BDFDB.disCN.userpopoutsection, BDFDB.disCN._showconnectionsconnectionswrapper),
|
||||
return BDFDB.ReactUtils.createElement("section", {
|
||||
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.userprofilesection, BDFDB.disCN._showconnectionsconnectionswrapper),
|
||||
children: [
|
||||
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Heading, {
|
||||
className: BDFDB.disCN.userpopoutsectiontitle,
|
||||
variant: "eyebrow",
|
||||
className: BDFDB.disCN.userprofilesectionheading,
|
||||
variant: "text-xs/semibold",
|
||||
style: {color: "var(--header-secondary)"},
|
||||
color: null,
|
||||
children: BDFDB.LanguageUtils.LanguageStrings.CONNECTIONS
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue