diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-02-03 15:03:44 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-02-03 15:03:44 -0800 |
commit | 311d9132af6b262918441f98a771a38dc5e94959 (patch) | |
tree | a4a38fd733db8f492e78a5ca953ea29dbde19bba | |
parent | 6bc16aa6c086e0e71c16909ab0124106d4887157 (diff) | |
download | dsub-311d9132af6b262918441f98a771a38dc5e94959.tar.gz dsub-311d9132af6b262918441f98a771a38dc5e94959.tar.bz2 dsub-311d9132af6b262918441f98a771a38dc5e94959.zip |
Fix rotating screen showing blank folder list
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SelectArtistFragment.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java index 909165b7..4f4449e1 100644 --- a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java @@ -84,6 +84,9 @@ public class SelectArtistFragment extends SubsonicFragment implements AdapterVie refresh(false);
}
} else {
+ if (Util.isOffline(context) || Util.isTagBrowsing(context)) {
+ folderButton.setVisibility(View.GONE);
+ }
artistList.setAdapter(new ArtistAdapter(context, artists));
setMusicFolders();
}
|