From 18f7b742109f4146e3cacc1ebf13b89e0e35a93a Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Fri, 27 Sep 2024 05:46:50 -0300 Subject: [PATCH] Fix required plugins being shown as disabled --- src/components/PluginSettings/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx index c3b6e9082..8dc40147f 100644 --- a/src/components/PluginSettings/index.tsx +++ b/src/components/PluginSettings/index.tsx @@ -93,7 +93,7 @@ interface PluginCardProps extends React.HTMLProps { export function PluginCard({ plugin, disabled, onRestartNeeded, onMouseEnter, onMouseLeave, isNew }: PluginCardProps) { const settings = Settings.plugins[plugin.name]; - const isEnabled = () => settings.enabled ?? false; + const isEnabled = () => Vencord.Plugins.isPluginEnabled(plugin.name); function toggleEnabled() { const wasEnabled = isEnabled();