Temp fix for settings

This commit is contained in:
Nuckyz 2024-11-03 14:26:39 -03:00
parent 4c642bfcc3
commit 907bc25eef
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -26,7 +26,7 @@ import UpdaterTab from "@components/VencordSettings/UpdaterTab";
import VencordTab from "@components/VencordSettings/VencordTab";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
import { i18n, React } from "@webpack/common";
import { React } from "@webpack/common";
import gitHash from "~git-hash";
@ -148,13 +148,13 @@ export default definePlugin({
if (!header) return;
const names = {
/* const names = {
top: i18n.Messages.USER_SETTINGS,
aboveNitro: i18n.Messages.BILLING_SETTINGS,
belowNitro: i18n.Messages.APP_SETTINGS,
aboveActivity: i18n.Messages.ACTIVITY_SETTINGS
};
return header === names[settingsLocation];
return header === names[settingsLocation]; */
},
patchedSettings: new WeakSet(),