aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-04-09 17:57:33 -0700
committerScott Jackson <daneren2005@gmail.com>2015-04-09 17:57:33 -0700
commit4b20f9fd1e937deed3c80e1a45ce8f428b37625d (patch)
tree26bb83604c401c0dc1932bc2cec12926dee06227
parent6592eeec50d35d3b543b33a58bccf2fde680c121 (diff)
downloaddsub-4b20f9fd1e937deed3c80e1a45ce8f428b37625d.tar.gz
dsub-4b20f9fd1e937deed3c80e1a45ce8f428b37625d.tar.bz2
dsub-4b20f9fd1e937deed3c80e1a45ce8f428b37625d.zip
Fix switching into tag mode with first level artists off
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectArtistFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
index 1c3f06a4..8bf8a8ec 100644
--- a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
@@ -154,7 +154,7 @@ public class SelectArtistFragment extends SelectListFragment<Artist> {
Artist artist = (Artist) parent.getItemAtPosition(position);
SubsonicFragment fragment;
- if(Util.isFirstLevelArtist(context) || "root".equals(artist.getId()) || groupId != null) {
+ if((Util.isFirstLevelArtist(context) || Util.isOffline(context) || Util.isTagBrowsing(context)) || "root".equals(artist.getId()) || groupId != null) {
fragment = new SelectDirectoryFragment();
Bundle args = new Bundle();
args.putString(Constants.INTENT_EXTRA_NAME_ID, artist.getId());