diff --git a/src/plugins/customRPC/index.tsx b/src/plugins/customRPC/index.tsx index eac338171..5fd5993d3 100644 --- a/src/plugins/customRPC/index.tsx +++ b/src/plugins/customRPC/index.tsx @@ -26,12 +26,11 @@ import { Margins } from "@utils/margins"; import { classes } from "@utils/misc"; import { useAwaiter } from "@utils/react"; import definePlugin, { OptionType } from "@utils/types"; -import { findByCode, findByProps, findComponentByCode } from "@webpack"; +import { findByCode, findComponentByCode } from "@webpack"; import { ApplicationAssetUtils, Button, FluxDispatcher, Forms, GuildStore, React, SelectedChannelStore, SelectedGuildStore, UserStore } from "@webpack/common"; const useProfileThemeStyle = findByCode("profileThemeStyle:", "--profile-gradient-primary-color"); const ActivityComponent = findComponentByCode("onOpenGameProfile"); -const ActivityClassName = findByProps("activity", "buttonColor"); const ShowCurrentGame = getUserSettingLazy("status", "showCurrentGame"); @@ -436,8 +435,8 @@ export default definePlugin({ -
- {activity[0] && + {activity[0] && } diff --git a/src/plugins/timeBarAllActivities/index.tsx b/src/plugins/timeBarAllActivities/index.tsx index 8419d0875..664d7dc56 100644 --- a/src/plugins/timeBarAllActivities/index.tsx +++ b/src/plugins/timeBarAllActivities/index.tsx @@ -40,7 +40,7 @@ export default definePlugin({ settings, patches: [ { - find: ".Messages.USER_ACTIVITY_PLAYING", + find: ".gameState,children:", replacement: [ // Insert Spotify time bar component { diff --git a/src/utils/constants.ts b/src/utils/constants.ts index dd1e6d629..e3538e79d 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -38,7 +38,8 @@ export const Devs = /* #__PURE__*/ Object.freeze({ }, Arjix: { name: "ArjixWasTaken", - id: 674710789138939916n + id: 674710789138939916n, + badge: false }, Cyn: { name: "Cynosphere",