Skip to content

Commit 0018153

Browse files
committed
fix: correct event type
1 parent 22436b9 commit 0018153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/preprocess/preprocess.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ func exposeAPIs(input string) string {
369369
};
370370
371371
const eventCB = ({data: info}) => {
372-
if (info && info.type === "notify_loaded") {
372+
if (info && info.type === "notify_ready") {
373373
Spicetify.Player.dispatchEvent(appEvent);
374374
window.removeEventListener("message", eventCB)
375375
}

0 commit comments

Comments
 (0)