diff --git a/src/equicordplugins/customAppIcons/AppIconModal.tsx b/src/equicordplugins/customAppIcons/AppIconModal.tsx index c219d7ac..c8883a96 100644 --- a/src/equicordplugins/customAppIcons/AppIconModal.tsx +++ b/src/equicordplugins/customAppIcons/AppIconModal.tsx @@ -32,8 +32,8 @@ function AppIconModal(props: ModalProps) { appIcons.push(icon); - findByProps("UZ", "QA").UZ.push(icon); - findByProps("UZ", "QA").QA[icon.id] = icon; + findByProps("M9", "UZ", "QA").UZ.push(icon); + findByProps("M9", "UZ", "QA").QA[icon.id] = icon; showToast("Added custom app icon!", Toasts.Type.SUCCESS); props.onClose(); const oldIcon = findByProps("getCurrentDesktopIcon").getCurrentDesktopIcon(); diff --git a/src/equicordplugins/customAppIcons/index.tsx b/src/equicordplugins/customAppIcons/index.tsx index aa461993..01dbe4f3 100644 --- a/src/equicordplugins/customAppIcons/index.tsx +++ b/src/equicordplugins/customAppIcons/index.tsx @@ -20,8 +20,8 @@ function removeAppIcon() { const index = icons.findIndex(icon => current_icon === icon.id); if (index !== -1) { icons = icons.filter(e => e.id !== current_icon); - delete findByProps("UZ", "QA").QA[current_icon]; - delete findByProps("UZ", "QA").UZ[findByProps("UZ", "QA").UZ.findIndex((icon => current_icon === icon?.id))]; + delete findByProps("M9", "UZ", "QA").QA[current_icon]; + delete findByProps("M9", "UZ", "QA").UZ[findByProps("M9", "UZ", "QA").UZ.findIndex((icon => current_icon === icon?.id))]; localStorage.setItem("vc_app_icons", JSON.stringify(icons)); showToast("Icon successfully deleted!", Toasts.Type.SUCCESS); FluxDispatcher.dispatch({ @@ -58,8 +58,8 @@ export default definePlugin({ start() { const appIcons = JSON.parse(localStorage.getItem("vc_app_icons") ?? "[]"); for (const icon of appIcons) { - findByProps("UZ", "QA").UZ.push(icon); - findByProps("UZ", "QA").QA[icon.id] = icon; + findByProps("M9", "UZ", "QA").UZ.push(icon); + findByProps("M9", "UZ", "QA").QA[icon.id] = icon; } }, stop() { @@ -87,12 +87,12 @@ export default definePlugin({ <> How to use? - - Go to { e.preventDefault(); closeAllModals(); FluxDispatcher.dispatch({ type: "USER_SETTINGS_MODAL_SET_SECTION", section: "Appearance" }); }}>Appearance Settings tab. - Scroll down to "In-app Icons" and click on "Preview App Icon". - And upload your own custom icon! - You can only use links when you are uploading your Custom Icon. - + + Go to { e.preventDefault(); closeAllModals(); FluxDispatcher.dispatch({ type: "USER_SETTINGS_MODAL_SET_SECTION", section: "Appearance" }); }}>Appearance Settings tab. + Scroll down to "In-app Icons" and click on "Preview App Icon". + And upload your own custom icon! + You can only use links when you are uploading your Custom Icon. + ); } }); diff --git a/src/equicordplugins/userpfp/index.tsx b/src/equicordplugins/userpfp/index.tsx index 340a2f80..99613667 100644 --- a/src/equicordplugins/userpfp/index.tsx +++ b/src/equicordplugins/userpfp/index.tsx @@ -59,7 +59,6 @@ export default definePlugin({ ), patches: [ { - // Normal Profiles find: "getUserAvatarURL:", replacement: [ {