changes.handleChange(name)}
+ disabled={false}
+ plugin={p}
+ isNew={newPlugins?.includes(p.name)}
+ key={p.name}
+ />
+ );
}
- } else {
- plugins = requiredPlugins = No plugins meet search criteria.;
}
return (
@@ -333,9 +359,18 @@ export default function PluginSettings() {
Plugins
-
- {plugins}
-
+ {plugins.length || requiredPlugins.length
+ ? (
+
+ {plugins.length
+ ? plugins
+ : No plugins meet the search criteria.
+ }
+
+ )
+ :
+ }
+
@@ -343,7 +378,10 @@ export default function PluginSettings() {
Required Plugins
- {requiredPlugins}
+ {requiredPlugins.length
+ ? requiredPlugins
+ : No plugins meet the search criteria.
+ }
);
diff --git a/src/modules.d.ts b/src/modules.d.ts
index 70ffcfb9..7566a5bf 100644
--- a/src/modules.d.ts
+++ b/src/modules.d.ts
@@ -26,6 +26,7 @@ declare module "~plugins" {
folderName: string;
userPlugin: boolean;
}>;
+ export const ExcludedPlugins: Record;
}
declare module "~pluginNatives" {
diff --git a/src/plugins/appleMusic.desktop/index.tsx b/src/plugins/appleMusic.desktop/index.tsx
index 0d81204e..6fa989cd 100644
--- a/src/plugins/appleMusic.desktop/index.tsx
+++ b/src/plugins/appleMusic.desktop/index.tsx
@@ -9,7 +9,7 @@ import { Devs } from "@utils/constants";
import definePlugin, { OptionType, PluginNative, ReporterTestable } from "@utils/types";
import { ApplicationAssetUtils, FluxDispatcher, Forms } from "@webpack/common";
-const Native = VencordNative.pluginHelpers.AppleMusic as PluginNative;
+const Native = VencordNative.pluginHelpers.AppleMusicRichPresence as PluginNative;
interface ActivityAssets {
large_image?: string;
diff --git a/src/plugins/xsOverlay.desktop/index.ts b/src/plugins/xsOverlay.desktop/index.ts
index a68373a6..b42d2021 100644
--- a/src/plugins/xsOverlay.desktop/index.ts
+++ b/src/plugins/xsOverlay.desktop/index.ts
@@ -136,7 +136,7 @@ const settings = definePluginSettings({
},
});
-const Native = VencordNative.pluginHelpers.XsOverlay as PluginNative;
+const Native = VencordNative.pluginHelpers.XSOverlay as PluginNative;
export default definePlugin({
name: "XSOverlay",