aboutsummaryrefslogtreecommitdiff
path: root/src/components/PluginSettings/index.tsx
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-02-09 19:36:30 +0100
committerVendicated <vendicated@riseup.net>2023-02-09 19:36:30 +0100
commitae98401bd350bd327142d2d07444ce62cce9238c (patch)
tree88fb726e9983acd2e09a29c09ac966ef08bad77e /src/components/PluginSettings/index.tsx
parent992a77e76cee25dd307a600f7c89d80b9b48f17f (diff)
downloadVencord-ae98401bd350bd327142d2d07444ce62cce9238c.tar.gz
Vencord-ae98401bd350bd327142d2d07444ce62cce9238c.tar.bz2
Vencord-ae98401bd350bd327142d2d07444ce62cce9238c.zip
Fix lag when alt tabbing to Discord
Diffstat (limited to 'src/components/PluginSettings/index.tsx')
-rw-r--r--src/components/PluginSettings/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx
index 34e6828..4e64eb8 100644
--- a/src/components/PluginSettings/index.tsx
+++ b/src/components/PluginSettings/index.tsx
@@ -222,7 +222,7 @@ export default ErrorBoundary.wrap(function PluginSettings() {
const onStatusChange = (status: SearchStatus) => setSearchValue(prev => ({ ...prev, status }));
const pluginFilter = (plugin: typeof Plugins[keyof typeof Plugins]) => {
- const enabled = settings.plugins[plugin.name]?.enabled || plugin.started;
+ const enabled = settings.plugins[plugin.name]?.enabled;
if (enabled && searchValue.status === SearchStatus.DISABLED) return false;
if (!enabled && searchValue.status === SearchStatus.ENABLED) return false;
if (!searchValue.value.length) return true;