From a6026f8ece9d1b7d845f558f1e88d818725d01e2 Mon Sep 17 00:00:00 2001 From: Send_Nukez Date: Sat, 9 Oct 2021 02:57:37 +0200 Subject: [PATCH] Fix console error --- dribbblish-dynamic.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dribbblish-dynamic.js b/dribbblish-dynamic.js index 17fad56..e15ac05 100644 --- a/dribbblish-dynamic.js +++ b/dribbblish-dynamic.js @@ -287,11 +287,9 @@ let coverListenerInstalled = true async function songchange() { try { // warning popup - if (Spicetify.PlaybackControl.featureVersion < "1.1.68") - Spicetify.showNotification("Your version of Spotify (" + Spicetify.PlaybackControl.featureVersion + ") is un-supported") - } - catch(err) { - console.log(err.message) + if (Spicetify.Platform.PlatformData.client_version_triple < "1.1.68") Spicetify.showNotification(`Your version of Spotify ${Spicetify.Platform.PlatformData.client_version_triple}) is un-supported`); + } catch (err) { + console.error(err); } let album_uri = Spicetify.Player.data.track.metadata.album_uri