From 33fa1eef42e542f226c6b5881898092e0ee01072 Mon Sep 17 00:00:00 2001 From: ririxi Date: Sun, 31 Dec 2023 14:18:25 +0100 Subject: [PATCH] fix(wrapper/ReactHook): make `DragHandler` findable again (#2744) --- jsHelper/spicetifyWrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsHelper/spicetifyWrapper.js b/jsHelper/spicetifyWrapper.js index f6602ad9c2..625fa70862 100644 --- a/jsHelper/spicetifyWrapper.js +++ b/jsHelper/spicetifyWrapper.js @@ -479,7 +479,7 @@ window.Spicetify = { ...Object.fromEntries(menus) }, ReactHook: { - DragHandler: functionModules.find(m => m.toString().includes("data-dragging-uri")), + DragHandler: functionModules.find(m => m.toString().includes("setDropOriginUri") && m.toString().includes("data-dragging")), usePanelState: functionModules.find(m => m.toString().includes("setPanelState")), useExtractedColor: functionModules.find( m => m.toString().includes("extracted-color") || (m.toString().includes("colorRaw") && m.toString().includes("useEffect"))