diff --git a/jsHelper/spicetifyWrapper.js b/jsHelper/spicetifyWrapper.js
index e8183d78a4..4dc13530c7 100644
--- a/jsHelper/spicetifyWrapper.js
+++ b/jsHelper/spicetifyWrapper.js
@@ -338,6 +338,15 @@ window.Spicetify = {
})
.filter(Boolean);
+ // Get Interanl Spotify SVGs
+ const svgFunctions = functionModules.filter(m => m.toString().includes("svgContent"));
+ Spicetify.SVGIcons["misc"] = svgFunctions
+ .map(m => {
+ const match = m.toString().match(/size:16,svgContent:"(.*?)"/);
+ return match && !Object.values(Spicetify.SVGIcons).some(value => value.includes(match[1])) ? match[1] : null;
+ })
+ .filter(Boolean);
+
Object.assign(Spicetify, {
React: cache.find(m => m?.useMemo),
ReactDOM: cache.find(m => m?.createPortal),
@@ -445,7 +454,8 @@ window.Spicetify = {
const playlistMenuChunk = Object.entries(require.m).find(
([, value]) => value.toString().includes('value:"playlist"') && value.toString().includes("onRemoveCallback")
);
- if (playlistMenuChunk) Spicetify.ReactComponent.PlaylistMenu = Object.values(require(playlistMenuChunk[0])).find(m => typeof m === "function");
+ if (playlistMenuChunk)
+ Spicetify.ReactComponent.PlaylistMenu = Object.values(require(playlistMenuChunk[0])).find(m => typeof m === "function" || typeof m === "object");
if (Spicetify.Color) Spicetify.Color.CSSFormat = modules.find(m => m?.RGBA);
@@ -939,46 +949,46 @@ Spicetify.getFontStyle = font => {
Spicetify.SVGIcons = {
collaborative:
- '',
+ "",
album:
- '',
+ "",
artist:
- '',
- block:
- '',
+ "",
+ block: "",
brightness:
- '',
- car: '',
- "chart-down": '',
- "chart-up": '',
- check: '',
+ "",
+ car: "",
+ "chart-down": "",
+ "chart-up": "",
+ check: "",
"check-alt-fill":
- '',
- "chevron-left": '',
- "chevron-right": '',
+ "",
+ "chevron-left": "",
+ "chevron-right": "",
"chromecast-disconnected":
- '',
+ "",
clock:
- '',
+ "",
computer:
- '',
- copy: '',
+ "",
+ copy: "",
download:
- '',
+ "",
downloaded:
- '',
- edit: '',
+ "",
+ edit: "",
enhance:
- '',
+ "",
"exclamation-circle":
- '',
- "external-link": '',
+ "",
+ "external-link":
+ "",
facebook:
- '',
+ "",
follow:
- '',
+ "",
fullscreen:
- '',
+ "",
gamepad:
'',
"grid-view": '',