diff --git a/.gitignore b/.gitignore index ab8c6c5..4186c2c 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ package-lock.json Themer RealThemer ChatMesser +allcommands diff --git a/plugins/BetterSpotifyIntegration/manifest.json b/plugins/BetterSpotifyIntegration/manifest.json deleted file mode 100644 index 011e41c..0000000 --- a/plugins/BetterSpotifyIntegration/manifest.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "BetterSpotifyIntegration", - "description": "Shrimply better integration with Spotify", - "vendetta": { }, - "main": "src/index.tsx" -} diff --git a/plugins/BetterSpotifyIntegration/src/components/ListenAlongButton.tsx b/plugins/BetterSpotifyIntegration/src/components/ListenAlongButton.tsx deleted file mode 100644 index f96b515..0000000 --- a/plugins/BetterSpotifyIntegration/src/components/ListenAlongButton.tsx +++ /dev/null @@ -1,39 +0,0 @@ -import { findByProps, findByStoreName } from "@vendetta/metro"; -import { getAssetIDByName } from "@vendetta/ui/assets"; -import { Image, View } from "react-native"; - -const FluxUtils = findByProps("useStateFromStores"); -const SpotifyStore = findByStoreName("SpotifyStore"); - -const Button = findByProps("Sizes", "Looks") as any; -const SpotifySyncUtil = findByProps("play", "sync"); - -type ListenAlongButtonProps = Partial<{ - activity: any; - user: any; - isCurrentUser: boolean; - activityButtonColor: string; - [key: string]: any; -}> - -export default function ListenAlongButton(props: ListenAlongButtonProps) { - const currentPartyId = FluxUtils.useStateFromStores([SpotifyStore], () => SpotifyStore.getActivity()?.party?.id); - const alreadySync = props.isCurrentUser || props.activity?.party?.id === currentPartyId; - - return -