diff options
author | Vendicated <vendicated@riseup.net> | 2023-02-09 19:36:30 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-02-09 19:36:30 +0100 |
commit | ae98401bd350bd327142d2d07444ce62cce9238c (patch) | |
tree | 88fb726e9983acd2e09a29c09ac966ef08bad77e /src/components/PluginSettings/index.tsx | |
parent | 992a77e76cee25dd307a600f7c89d80b9b48f17f (diff) | |
download | Vencord-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.tsx | 2 |
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; |