mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-21 20:37:02 -04:00
Some To-Do Stuff
This commit is contained in:
parent
74417ea268
commit
a09a3a8a8f
3 changed files with 21 additions and 3 deletions
|
@ -366,8 +366,13 @@ export default definePlugin({
|
|||
);
|
||||
data.storageAutoSaveProtocol();
|
||||
|
||||
// @ts-ignore
|
||||
Vencord.Plugins.plugins.Settings.customSections.push(ID => ({
|
||||
const customSettingsSections = (
|
||||
Vencord.Plugins.plugins.Settings as any as {
|
||||
customSections: ((ID: Record<string, unknown>) => any)[];
|
||||
}
|
||||
).customSections;
|
||||
|
||||
customSettingsSections.push(_ => ({
|
||||
section: "iremeberyou.display-data",
|
||||
label: "IRememberYou",
|
||||
element: () => ui.toElement(data.usersCollection),
|
||||
|
|
|
@ -36,7 +36,13 @@ export default definePlugin({
|
|||
id: "ThemeSection",
|
||||
});
|
||||
|
||||
customSettingsSections.push(ThemeSection);
|
||||
customSettingsSections.push(_ => ({
|
||||
section: "ThemeLibrary",
|
||||
label: "Theme Library",
|
||||
searchableTitles: ["Theme Library"],
|
||||
element: require("./components/ThemeTab").default,
|
||||
id: "ThemeSection",
|
||||
}));
|
||||
},
|
||||
|
||||
stop() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue