Skip to content

Commit

Permalink
Fix bug where song lyrics wouldn't start when switching from Spotify …
Browse files Browse the repository at this point in the history
…(not open) to Apple Music (song playing/paused)

I wasn't setting the apple music persistend ID to nil if the swapped platform wasn't running
  • Loading branch information
aviwad committed Apr 12, 2024
1 parent 86e27b8 commit d3ef25d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SpotifyLyricsInMenubar/SpotifyLyricsInMenubarApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ struct SpotifyLyricsInMenubarApp: App {
viewmodel.isPlaying = false
viewmodel.currentlyPlaying = nil
viewmodel.currentlyPlayingName = nil
viewmodel.currentlyPlayingAppleMusicPersistentID = nil
return
}
print("Application just started. lets check whats playing")
Expand Down

0 comments on commit d3ef25d

Please sign in to comment.