mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-25 04:52:10 +00:00
Fix console error
This commit is contained in:
parent
cf2327d271
commit
a6026f8ece
1 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue