mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-22 08:09:12 -05: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();
|
data.storageAutoSaveProtocol();
|
||||||
|
|
||||||
// @ts-ignore
|
const customSettingsSections = (
|
||||||
Vencord.Plugins.plugins.Settings.customSections.push(ID => ({
|
Vencord.Plugins.plugins.Settings as any as {
|
||||||
|
customSections: ((ID: Record<string, unknown>) => any)[];
|
||||||
|
}
|
||||||
|
).customSections;
|
||||||
|
|
||||||
|
customSettingsSections.push(_ => ({
|
||||||
section: "iremeberyou.display-data",
|
section: "iremeberyou.display-data",
|
||||||
label: "IRememberYou",
|
label: "IRememberYou",
|
||||||
element: () => ui.toElement(data.usersCollection),
|
element: () => ui.toElement(data.usersCollection),
|
||||||
|
|
|
@ -36,7 +36,13 @@ export default definePlugin({
|
||||||
id: "ThemeSection",
|
id: "ThemeSection",
|
||||||
});
|
});
|
||||||
|
|
||||||
customSettingsSections.push(ThemeSection);
|
customSettingsSections.push(_ => ({
|
||||||
|
section: "ThemeLibrary",
|
||||||
|
label: "Theme Library",
|
||||||
|
searchableTitles: ["Theme Library"],
|
||||||
|
element: require("./components/ThemeTab").default,
|
||||||
|
id: "ThemeSection",
|
||||||
|
}));
|
||||||
},
|
},
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
|
|
@ -103,42 +103,49 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
section: "EquicordSettings",
|
section: "EquicordSettings",
|
||||||
label: "Equicord",
|
label: "Equicord",
|
||||||
|
searchableTitles: ["Equicord", "Settings", "Equicord Settings"],
|
||||||
element: VencordTab,
|
element: VencordTab,
|
||||||
className: "vc-settings"
|
className: "vc-settings"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
section: "EquicordPlugins",
|
section: "EquicordPlugins",
|
||||||
label: "Plugins",
|
label: "Plugins",
|
||||||
|
searchableTitles: ["Plugins"],
|
||||||
element: PluginsTab,
|
element: PluginsTab,
|
||||||
className: "vc-plugins"
|
className: "vc-plugins"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
section: "EquicordThemes",
|
section: "EquicordThemes",
|
||||||
label: "Themes",
|
label: "Themes",
|
||||||
|
searchableTitles: ["Themes"],
|
||||||
element: require("@components/ThemeSettings/ThemesTab").default,
|
element: require("@components/ThemeSettings/ThemesTab").default,
|
||||||
className: "vc-themes"
|
className: "vc-themes"
|
||||||
},
|
},
|
||||||
!IS_UPDATER_DISABLED && {
|
!IS_UPDATER_DISABLED && {
|
||||||
section: "EquicordUpdater",
|
section: "EquicordUpdater",
|
||||||
label: "Updater",
|
label: "Updater",
|
||||||
|
searchableTitles: ["Updater"],
|
||||||
element: UpdaterTab,
|
element: UpdaterTab,
|
||||||
className: "vc-updater"
|
className: "vc-updater"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
section: "EquicordCloud",
|
section: "EquicordCloud",
|
||||||
label: "Cloud",
|
label: "Cloud",
|
||||||
|
searchableTitles: ["Cloud"],
|
||||||
element: CloudTab,
|
element: CloudTab,
|
||||||
className: "vc-cloud"
|
className: "vc-cloud"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
section: "EquicordSettingsSync",
|
section: "EquicordSettingsSync",
|
||||||
label: "Backup & Restore",
|
label: "Backup & Restore",
|
||||||
|
searchableTitles: ["Backup & Restore"],
|
||||||
element: BackupAndRestoreTab,
|
element: BackupAndRestoreTab,
|
||||||
className: "vc-backup-restore"
|
className: "vc-backup-restore"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
section: "EquicordPatchHelper",
|
section: "EquicordPatchHelper",
|
||||||
label: "Patch Helper",
|
label: "Patch Helper",
|
||||||
|
searchableTitles: ["Patch Helper"],
|
||||||
element: PatchHelperTab,
|
element: PatchHelperTab,
|
||||||
className: "vc-patch-helper"
|
className: "vc-patch-helper"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue