This commit is contained in:
Mirco Wittrien 2022-08-20 20:11:44 +02:00
parent 6e91ecf39d
commit 53c626c936
4 changed files with 15 additions and 12 deletions

View File

@ -118,6 +118,7 @@
"RoleIconUtils": {"props": ["getRoleIconData"]},
"SearchPageUtils": {"props": ["searchNextPage", "searchPreviousPage"]},
"SettingsUtils": {"props": ["ShowCurrentGame", "DeveloperMode"]},
"SettingsUtilsOld": {"props": ["updateRemoteSettings", "updateLocalSettings"]},
"SimpleMarkdownComponents": {"strings": ["customEmoji", "emojiTooltipPosition", "timestampTooltip"]},
"SimpleMarkdownParser": {"props": ["parseBlock", "parseInline", "defaultOutput"]},
"SlateDraftUtils": {"props": ["getRecentlyEditedDrafts", "getDraft"]},
@ -304,7 +305,7 @@
"SearchResults": {"class": "searchresultswrap"},
"SearchResultsInner": {"strings": ["SEARCH_HIDE_BLOCKED_MESSAGES", "totalResults", "SEARCH_PAGE_SIZE"]},
"SettingsView": {"lazyLoaded": true, "exported": true},
"StandardSidebarView": {"class": "settingswindowstandardsidebarview"},
"StandardSidebarView": {"strings": ["standardSidebarView", "getThemeClass", "mobileSidebarHeader"]},
"ThreadCard": {"strings": ["threadId", "gotoThread", "container"]},
"ThreadSidebar": {"strings": ["channelId", "collectThreadMetadata", "SIDEBAR"]},
"TypingUsers": {"class": "typing"},

View File

@ -2,7 +2,7 @@
* @name OldTitleBar
* @author DevilBro
* @authorId 278543574059057154
* @version 1.7.4
* @version 1.7.5
* @description Allows you to switch to Discord's old Titlebar
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,7 +17,7 @@ module.exports = (_ => {
"info": {
"name": "OldTitleBar",
"author": "DevilBro",
"version": "1.7.4",
"version": "1.7.5",
"description": "Allows you to switch to Discord's old Titlebar"
}
};
@ -138,7 +138,7 @@ module.exports = (_ => {
after: {
App: "render",
AppSkeleton: "render",
StandardSidebarView: "render",
StandardSidebarView: "default",
AuthWrapper: "render"
}
};
@ -269,8 +269,10 @@ module.exports = (_ => {
}
processStandardSidebarView (e) {
if (!BDFDB.ArrayUtils.is(e.returnvalue.props.children)) e.returnvalue.props.children = [e.returnvalue.props.children];
this.injectSettingsToolbar(e.returnvalue.props.children);
let sidebarView = BDFDB.ReactUtils.findChild(e.returnvalue, {props: [["className", BDFDB.disCN.settingswindowstandardsidebarview]]});
if (!sidebarView) return;
if (!BDFDB.ArrayUtils.is(sidebarView.props.children)) sidebarView.props.children = [sidebarView.props.children];
this.injectSettingsToolbar(sidebarView.props.children);
}
processAuthWrapper (e) {

View File

@ -2,7 +2,7 @@
* @name PluginRepo
* @author DevilBro
* @authorId 278543574059057154
* @version 2.3.5
* @version 2.3.6
* @description Allows you to download all Plugins from BD's Website within Discord
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,7 +17,7 @@ module.exports = (_ => {
"info": {
"name": "PluginRepo",
"author": "DevilBro",
"version": "2.3.5",
"version": "2.3.6",
"description": "Allows you to download all Plugins from BD's Website within Discord"
}
};
@ -661,7 +661,7 @@ module.exports = (_ => {
SettingsView: ["render", "componentWillUnmount"]
},
after: {
StandardSidebarView: "render"
StandardSidebarView: "default"
}
};

View File

@ -2,7 +2,7 @@
* @name ThemeRepo
* @author DevilBro
* @authorId 278543574059057154
* @version 2.3.6
* @version 2.3.7
* @description Allows you to download all Themes from BD's Website within Discord
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,7 +17,7 @@ module.exports = (_ => {
"info": {
"name": "ThemeRepo",
"author": "DevilBro",
"version": "2.3.6",
"version": "2.3.7",
"description": "Allows you to download all Themes from BD's Website within Discord"
}
};
@ -1086,7 +1086,7 @@ module.exports = (_ => {
SettingsView: ["render", "componentWillUnmount"]
},
after: {
StandardSidebarView: "render"
StandardSidebarView: "default"
}
};