remove newlines before displaying playlist descriptions

This commit is contained in:
Drew Weymouth
2025-04-17 08:12:30 -07:00
parent fe9f3faa4e
commit 42013ba598
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -365,7 +365,7 @@ func NewPlaylistList(initialSort widgets.ListHeaderSort) *PlaylistList {
row.ListItemID = id
row.PlaylistID = a.playlists[id].ID
row.nameLabel.Text = a.playlists[id].Name
row.descrptionLabel.Text = a.playlists[id].Description
row.descrptionLabel.Text = strings.ReplaceAll(a.playlists[id].Description, "\n", " ")
row.ownerLabel.Text = a.playlists[id].Owner
row.trackCountLabel.Text = strconv.Itoa(a.playlists[id].TrackCount)
row.Refresh()