mirror of
https://github.com/aditya-K2/gspt.git
synced 2026-01-08 21:37:58 -05:00
Minor formatting changes to playlist notification
This commit is contained in:
@@ -109,7 +109,11 @@ func addToPlaylist(tracks []spotify.ID) {
|
||||
SendNotification(aerr.Error())
|
||||
return
|
||||
} else {
|
||||
SendNotification(fmt.Sprintf("Added %d tracks to %s", len(tracks), sp.Name))
|
||||
s := ""
|
||||
if len(tracks) > 1 {
|
||||
s = "s"
|
||||
}
|
||||
SendNotification(fmt.Sprintf("Added %d track%s to %s", len(tracks), s, sp.Name))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user