aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2014-06-13 15:15:02 -0700
committerdaneren2005 <daneren2005@gmail.com>2014-06-13 15:15:02 -0700
commit63c18703d10af42c95227177d47d074d3652abb9 (patch)
tree7a3df5c909585c8505e4ce6dbec60da8bf64230f /src
parent4a6eb7e598697c8e2ac64952613512070db5288d (diff)
downloaddsub-63c18703d10af42c95227177d47d074d3652abb9.tar.gz
dsub-63c18703d10af42c95227177d47d074d3652abb9.tar.bz2
dsub-63c18703d10af42c95227177d47d074d3652abb9.zip
Fix folder with no songs showing header on legacy album view
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index cbd645de..98c388d9 100644
--- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -1147,6 +1147,9 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
}
}
}
+ if(songCount == 0) {
+ return null;
+ }
final TextView artistView = (TextView) header.findViewById(R.id.select_album_artist);
if(podcastDescription != null) {