From 6b1b83d1a3a8381e86bb77f45d358cb6bca3c117 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sun, 4 May 2025 02:01:52 -0400 Subject: [PATCH] spotifyActivityToggle Add Red Slash --- src/equicordplugins/spotifyActivityToggle/index.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/equicordplugins/spotifyActivityToggle/index.tsx b/src/equicordplugins/spotifyActivityToggle/index.tsx index 768e0b94..f20ac4dc 100644 --- a/src/equicordplugins/spotifyActivityToggle/index.tsx +++ b/src/equicordplugins/spotifyActivityToggle/index.tsx @@ -14,12 +14,23 @@ import { Constants, React, RestAPI } from "@webpack/common"; const Button = findComponentByCodeLazy(".NONE,disabled:", ".PANEL_BUTTON"); function makeSpotifyIcon(enabled: boolean) { + const redLinePath = "M48.54 4.54a2.2 2.2 0 0 0-3.08-3.08l-44 44a2.2 2.2 0 1 0 3.08 3.08Z"; + const maskBlackPath = "M50.376 8.248 41.752-.376-.376 41.752 8.248 50.376Z"; + return ( + {!enabled && <> + + + + + + } ); } @@ -56,7 +67,6 @@ function SpotifyActivityToggleButton() { ); } - const settings = definePluginSettings({ spotifyConnection: { type: OptionType.BOOLEAN,