Skip to content

Commit

Permalink
fix: patch for 1.2.17 (#2496)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrie25 authored Aug 9, 2023
1 parent bb513d8 commit 7b49811
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
11 changes: 10 additions & 1 deletion css-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -2503,5 +2503,14 @@
"_yUo81yeoON6wNqCV_ud": "artist-artistOverview-artistSidesBlock",
"N3mpQyWevHz7lrgLkOBM": "artist-artistAbout-artistSides",
"TxASgfgEtA4JmUkhkNUN": "artist-artistAbout-artistSidesBlock",
"muTn937T_T9l0xqjlN8A": "main-nowPlayingView-artistBioTextContent"
"muTn937T_T9l0xqjlN8A": "main-nowPlayingView-artistBioTextContent",
"gWUxbU2cIHAajHxsVLMZ": "main-buddyFeed-section",
"WjW1oRtpaNrY37daDP6Y": "main-buddyFeed-sectionFadeEnter",
"T27BYdtZ9ugE_X_JpP1A": "main-buddyFeed-sectionFadeExit",
"C3bqciZSM7rPG_L3ohdC": "main-buddyFeed-sectionFadeEnterActive",
"RLdiPAZ3grZgi7lfHjXA": "main-buddyFeed-sectionFadeExitActive",
"lD5bMttyrRNzsKch6ysa": "main-entityHeader-newEntityHeaders",
"k9LEjzjnGgVaEm3BvhAb": "main-entityHeader-largeHeader",
"_osiFNXU9Cy1X0CYaU9Z": "main-entityHeader-imageContainerNew",
"zjsGbrMpvbdA1HJ4rpfi": "main-entityHeader-smallMadeForIcon"
}
7 changes: 5 additions & 2 deletions globals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1216,11 +1216,14 @@ declare namespace Spicetify {
label?: string;
/**
* Item URI of the panel. Used as reference for Spotify's internal Event Factory.
*
* @deprecated Since Spotify `1.2.17`
*/
itemUri?: string;
/**
* Additional class name to apply to the panel.
* @deprecated Spotify `1.2.12`
*
* @deprecated Since Spotify `1.2.12`
*/
className?: string;
/**
Expand Down Expand Up @@ -1868,7 +1871,7 @@ declare namespace Spicetify {
* Analyse and extract color presets from an image. Works for any valid image URL/URI.
* @param image Spotify URI to an image, or an image URL.
*/
function extractColorPresets(image: string | string[]): Promise<{
function extractColorPreset(image: string | string[]): Promise<{
colorRaw: Color;
colorLight: Color;
colorDark: Color;
Expand Down
2 changes: 1 addition & 1 deletion jsHelper/spicetifyWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ window.Spicetify = {
PanelContent:
modules.find(m => m?.render?.toString().includes("scrollBarContainer")) ||
functionModules.find(m => m.toString().includes("scrollBarContainer")),
PanelSkeleton: functionModules.find(m => m.toString().includes("label") && m.toString().includes("aside")),
PanelSkeleton: functionModules.find(m => m.toString().includes("label") && m.toString().includes("aside")) || modules.find(m => m?.render?.toString().includes('"section"')),
...Object.fromEntries(menus)
},
ReactHook: {
Expand Down

0 comments on commit 7b49811

Please sign in to comment.