From 27132dd0a4ea21bd9df4d1a3e7d0db08d56cb127 Mon Sep 17 00:00:00 2001 From: Ben Wiley Date: Mon, 22 Apr 2019 01:13:18 -0400 Subject: [PATCH] Remove support for displayText property on track (closes #419). --- packages/core/src/utils/getDisplayText.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/core/src/utils/getDisplayText.js b/packages/core/src/utils/getDisplayText.js index 768984f6..4eed27f2 100644 --- a/packages/core/src/utils/getDisplayText.js +++ b/packages/core/src/utils/getDisplayText.js @@ -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}`; }