stuff
This commit is contained in:
parent
209a5271db
commit
317d5bac79
|
@ -3,7 +3,7 @@
|
||||||
class EditChannels {
|
class EditChannels {
|
||||||
getName () {return "EditChannels";}
|
getName () {return "EditChannels";}
|
||||||
|
|
||||||
getVersion () {return "3.9.3";}
|
getVersion () {return "3.9.4";}
|
||||||
|
|
||||||
getAuthor () {return "DevilBro";}
|
getAuthor () {return "DevilBro";}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ class EditChannels {
|
||||||
|
|
||||||
initConstructor () {
|
initConstructor () {
|
||||||
this.changelog = {
|
this.changelog = {
|
||||||
"fixed":[["Canary/PTB","Fixed the plugin for canary and ptb"]]
|
"fixed":[["Channel Header","Fixed the issue where the changed channel header would be stuck when changing channels"]]
|
||||||
};
|
};
|
||||||
|
|
||||||
this.labels = {};
|
this.labels = {};
|
||||||
|
@ -23,6 +23,7 @@ class EditChannels {
|
||||||
"ChannelCategoryItem":"componentDidMount",
|
"ChannelCategoryItem":"componentDidMount",
|
||||||
"ChannelItem":"componentDidMount",
|
"ChannelItem":"componentDidMount",
|
||||||
"HeaderBar":["componentDidMount","componentDidUpdate"],
|
"HeaderBar":["componentDidMount","componentDidUpdate"],
|
||||||
|
"HeaderBarContainer":["componentDidMount","componentDidUpdate"],
|
||||||
"Clickable":"componentDidMount",
|
"Clickable":"componentDidMount",
|
||||||
"StandardSidebarView":"componentWillUnmount"
|
"StandardSidebarView":"componentWillUnmount"
|
||||||
};
|
};
|
||||||
|
@ -355,6 +356,10 @@ class EditChannels {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
processHeaderBarContainer (instance, wrapper) {
|
||||||
|
this.processHeaderBar(instance, wrapper);
|
||||||
|
}
|
||||||
|
|
||||||
processHeaderBar (instance, wrapper) {
|
processHeaderBar (instance, wrapper) {
|
||||||
let channel_id = BDFDB.getReactValue(instance, "props.channelId") || BDFDB.getReactValue(instance, "_reactInternalFiber.return.memoizedProps.channelId");
|
let channel_id = BDFDB.getReactValue(instance, "props.channelId") || BDFDB.getReactValue(instance, "_reactInternalFiber.return.memoizedProps.channelId");
|
||||||
if (channel_id) {
|
if (channel_id) {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
class EditUsers {
|
class EditUsers {
|
||||||
getName () {return "EditUsers";}
|
getName () {return "EditUsers";}
|
||||||
|
|
||||||
getVersion () {return "3.3.5";}
|
getVersion () {return "3.3.6";}
|
||||||
|
|
||||||
getAuthor () {return "DevilBro";}
|
getAuthor () {return "DevilBro";}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ class EditUsers {
|
||||||
|
|
||||||
initConstructor () {
|
initConstructor () {
|
||||||
this.changelog = {
|
this.changelog = {
|
||||||
"fixed":[["Start up","Fixed a Bug where some servers wouldn't get hidden on start up"]]
|
"fixed":[["DM Header","Fixed the issue where the changed DM header would be stuck when changing channels"]]
|
||||||
};
|
};
|
||||||
|
|
||||||
this.labels = {};
|
this.labels = {};
|
||||||
|
@ -32,6 +32,7 @@ class EditUsers {
|
||||||
"PictureInPictureVideo":"componentDidMount",
|
"PictureInPictureVideo":"componentDidMount",
|
||||||
"PrivateChannel":["componentDidMount","componentDidUpdate"],
|
"PrivateChannel":["componentDidMount","componentDidUpdate"],
|
||||||
"HeaderBar":["componentDidMount","componentDidUpdate"],
|
"HeaderBar":["componentDidMount","componentDidUpdate"],
|
||||||
|
"HeaderBarContainer":["componentDidMount","componentDidUpdate"],
|
||||||
"Clickable":"componentDidMount",
|
"Clickable":"componentDidMount",
|
||||||
"MessageContent":["componentDidMount","componentDidUpdate"],
|
"MessageContent":["componentDidMount","componentDidUpdate"],
|
||||||
"StandardSidebarView":"componentWillUnmount"
|
"StandardSidebarView":"componentWillUnmount"
|
||||||
|
@ -630,6 +631,10 @@ class EditUsers {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
processHeaderBarContainer (instance, wrapper) {
|
||||||
|
this.processHeaderBar(instance, wrapper);
|
||||||
|
}
|
||||||
|
|
||||||
processHeaderBar (instance, wrapper) {
|
processHeaderBar (instance, wrapper) {
|
||||||
let channel_id = BDFDB.getReactValue(instance, "_reactInternalFiber.return.memoizedProps.channelId");
|
let channel_id = BDFDB.getReactValue(instance, "_reactInternalFiber.return.memoizedProps.channelId");
|
||||||
if (channel_id) {
|
if (channel_id) {
|
||||||
|
|
Loading…
Reference in New Issue