aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-02-25 19:22:37 -0800
committerScott Jackson <daneren2005@gmail.com>2015-02-25 19:22:37 -0800
commitf77c52b68219bf2ed51ea397c62c8a229c089d53 (patch)
tree0c77a36e38676a03e54eda19761744e12910ad20 /src
parentaf3b5b50d9daa4f38dfd38fb13d49d8167df69da (diff)
downloaddsub-f77c52b68219bf2ed51ea397c62c8a229c089d53.tar.gz
dsub-f77c52b68219bf2ed51ea397c62c8a229c089d53.tar.bz2
dsub-f77c52b68219bf2ed51ea397c62c8a229c089d53.zip
#459 Fix empty podcast/playlist pointlessly using HeaderGridView
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index b8a1006b..515a6cd4 100644
--- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -730,7 +730,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
// Needs to be added here, GB crashes if you to try to remove the header view before adapter is set
if(addAlbumHeader && entryAdapter == null) {
- if(entries.size() > 0) {
+ if(entries.size() > 0 || playlistId != null || podcastId != null) {
entryList.addHeaderView(albumList);
} else {
ViewGroup rootGroup = (ViewGroup) rootView.findViewById(R.id.select_album_layout);