mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-21 15:48:52 -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();
|
||||
|
||||
// @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() {
|
||||
|
|
|
@ -103,42 +103,49 @@ export default definePlugin({
|
|||
{
|
||||
section: "EquicordSettings",
|
||||
label: "Equicord",
|
||||
searchableTitles: ["Equicord", "Settings", "Equicord Settings"],
|
||||
element: VencordTab,
|
||||
className: "vc-settings"
|
||||
},
|
||||
{
|
||||
section: "EquicordPlugins",
|
||||
label: "Plugins",
|
||||
searchableTitles: ["Plugins"],
|
||||
element: PluginsTab,
|
||||
className: "vc-plugins"
|
||||
},
|
||||
{
|
||||
section: "EquicordThemes",
|
||||
label: "Themes",
|
||||
searchableTitles: ["Themes"],
|
||||
element: require("@components/ThemeSettings/ThemesTab").default,
|
||||
className: "vc-themes"
|
||||
},
|
||||
!IS_UPDATER_DISABLED && {
|
||||
section: "EquicordUpdater",
|
||||
label: "Updater",
|
||||
searchableTitles: ["Updater"],
|
||||
element: UpdaterTab,
|
||||
className: "vc-updater"
|
||||
},
|
||||
{
|
||||
section: "EquicordCloud",
|
||||
label: "Cloud",
|
||||
searchableTitles: ["Cloud"],
|
||||
element: CloudTab,
|
||||
className: "vc-cloud"
|
||||
},
|
||||
{
|
||||
section: "EquicordSettingsSync",
|
||||
label: "Backup & Restore",
|
||||
searchableTitles: ["Backup & Restore"],
|
||||
element: BackupAndRestoreTab,
|
||||
className: "vc-backup-restore"
|
||||
},
|
||||
{
|
||||
section: "EquicordPatchHelper",
|
||||
label: "Patch Helper",
|
||||
searchableTitles: ["Patch Helper"],
|
||||
element: PatchHelperTab,
|
||||
className: "vc-patch-helper"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue