From 86bafeb5326a0959a692332ee48886438991c192 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Sun, 16 Jun 2013 23:11:37 +0200 Subject: [PATCH] Fixed error with list item texts. --- src/com/github/nutomic/controldlna/FileArrayAdapter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/github/nutomic/controldlna/FileArrayAdapter.java b/src/com/github/nutomic/controldlna/FileArrayAdapter.java index e100436..b7a434f 100644 --- a/src/com/github/nutomic/controldlna/FileArrayAdapter.java +++ b/src/com/github/nutomic/controldlna/FileArrayAdapter.java @@ -82,8 +82,10 @@ public class FileArrayAdapter extends ArrayAdapter { ". " + item.getTitle()); artist.setText(track.getArtists()[0].getName()); } - else + else { title.setText(item.getTitle()); + artist.setText(""); + } return convertView; }