Skip to content

Commit

Permalink
Remove support for displayText property on track (closes #419).
Browse files Browse the repository at this point in the history
  • Loading branch information
benwiley4000 committed Apr 22, 2019
1 parent ac4b6ab commit 27132dd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/core/src/utils/getDisplayText.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ function getDisplayText(track) {
if (!track) {
return '';
}
if (track.displayText) {
// TODO: Remove this check when support for the displayText prop is gone.
return track.displayText;
}
if (track.title && track.artist) {
return `${track.artist} - ${track.title}`;
}
Expand Down

0 comments on commit 27132dd

Please sign in to comment.