diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index 54e6ddb63..3e883b927 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -69,10 +69,17 @@ export default ErrorBoundary.wrap(function Settings() {
- SettingsDir: {settingsDir}
+ SettingsDir: {settingsDir}
+
-
+
+ Settings
settings.useQuickCss = v}
- note="Enable QuickCss"
+ onChange={(v: boolean) => settings.useQuickCss = v}
+ note="Enable QuickCSS"
>
Use QuickCss
settings.notifyAboutUpdates = v}
+ onChange={(v: boolean) => settings.notifyAboutUpdates = v}
note="Shows a Toast on StartUp"
>
Get notified about new Updates
settings.unsafeRequire = v}
+ onChange={(v: boolean) => settings.unsafeRequire = v}
note="Enables VencordNative.require. Useful for testing, very bad for security. Leave this off unless you need it."
>
Enable Unsafe Require
diff --git a/src/webpack/webpack.ts b/src/webpack/webpack.ts
index 9be576a40..15104bb44 100644
--- a/src/webpack/webpack.ts
+++ b/src/webpack/webpack.ts
@@ -135,7 +135,7 @@ export function search(...filters: Array) {
const factories = wreq.m;
outer:
for (const id in factories) {
- const factory = factories[id];
+ const factory = factories[id].original ?? factories[id];
const str: string = factory.toString();
for (const filter of filters) {
if (typeof filter === "string" && !str.includes(filter)) continue outer;