This commit is contained in:
Mirco Wittrien 2019-12-30 11:52:37 +01:00
parent 4c49eb9e3a
commit f4ff76f85f
3 changed files with 6 additions and 6 deletions

View File

@ -4417,7 +4417,7 @@
DiscordClassModules.ReadAllNotificationsButton = {
button: "button-Jt-tIg",
frame: "frame-oXWS21",
inner: "innerFrame-8Hg64E"
innerFrame: "innerFrame-8Hg64E"
};
DiscordClassModules.ServerFolders = {
dragPreview: "dragPreview-nXiByA",

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
class ReadAllNotificationsButton {
getName () {return "ReadAllNotificationsButton";}
getVersion () {return "1.5.3";}
getVersion () {return "1.5.4";}
getAuthor () {return "DevilBro";}
@ -141,13 +141,13 @@ class ReadAllNotificationsButton {
processGuilds (e) {
let [children, index] = BDFDB.ReactUtils.findChildren(e.returnvalue, {name: "ConnectedUnreadDMs"});
if (index > -1) children.splice(index + 1, 0, BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.guildouter + BDFDB.disCN._readallnotificationsbuttonframe,
className: BDFDB.disCNS.guildouter + BDFDB.disCN._readallnotificationsbuttonframe,
style: {height: 20},
children: BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.guildiconwrapper + BDFDB.disCN._readallnotificationsbuttoninner,
className: BDFDB.disCNS.guildiconwrapper + BDFDB.disCN._readallnotificationsbuttoninner,
style: {height: 20},
children: BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.guildiconchildwrapper + BDFDB.disCN._readallnotificationsbuttonbutton,
className: BDFDB.disCNS.guildiconchildwrapper + BDFDB.disCN._readallnotificationsbuttonbutton,
style: {height: 20},
children: "read all",
onClick: _ => {