Update PinDMs.plugin.js

This commit is contained in:
Mirco Wittrien 2021-05-14 09:47:20 +02:00
parent 661e86ec06
commit 5c1ac275ab
1 changed files with 3 additions and 3 deletions

View File

@ -121,6 +121,7 @@ module.exports = (_ => {
position: relative;
top: -1px;
margin-right: 6px;
background-color: var(--background-accent);
}
${BDFDB.dotCN._pindmspinnedchannelsheaderarrow} {
flex: 0;
@ -591,13 +592,12 @@ module.exports = (_ => {
}),
unreadAmount ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Badges.NumberBadge, {
className: BDFDB.disCN._pindmspinnedchannelsheaderamount,
count: unreadAmount,
style: {backgroundColor: BDFDB.DiscordConstants.Colors.STATUS_RED}
count: unreadAmount
}) : null,
this.settings.general.channelAmount ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Badges.NumberBadge, {
className: BDFDB.disCN._pindmspinnedchannelsheaderamount,
count: foundDMs.length,
style: {backgroundColor: "var(--bdfdb-blurple)"}
disableColor: true
}) : null,
BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCNS._pindmspinnedchannelsheaderarrow + BDFDB.disCNS.channelheadericonwrapper + BDFDB.disCN.channelheadericonclickable,