Remove extra whitespace from artist line

This commit is contained in:
Andrew Rabert 2018-03-24 17:38:51 -04:00
parent 4f617ed270
commit 7e56cba6e5
1 changed files with 2 additions and 2 deletions

View File

@ -1027,9 +1027,9 @@ public class NowPlayingFragment extends SubsonicFragment implements OnGestureLis
if(entry.getAlbum() != null) { if(entry.getAlbum() != null) {
String artist = ""; String artist = "";
if (entry.getArtist() != null) { if (entry.getArtist() != null) {
artist = currentPlaying.getSong().getArtist() + " - "; artist = currentPlaying.getSong().getArtist().trim() + " - ";
} }
statusTextView.setText(artist + entry.getAlbum()); statusTextView.setText(artist + entry.getAlbum().trim());
} else { } else {
statusTextView.setText(null); statusTextView.setText(null);
} }