aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-03-21 17:46:13 -0700
committerScott Jackson <daneren2005@gmail.com>2016-03-21 17:46:13 -0700
commita55812c8876d9e17a61bc9c49a7a6f0712eeae0b (patch)
treefff023770637e118c9669ebc123b9b713efd12f6 /app/src/main
parent49d7e06385e5d321cd6aec6b705f0361163aacbc (diff)
downloaddsub-a55812c8876d9e17a61bc9c49a7a6f0712eeae0b.tar.gz
dsub-a55812c8876d9e17a61bc9c49a7a6f0712eeae0b.tar.bz2
dsub-a55812c8876d9e17a61bc9c49a7a6f0712eeae0b.zip
Fixes #664: Show Artist when browsing by tags
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java
index 42b6fce6..f552127e 100644
--- a/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java
+++ b/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java
@@ -297,7 +297,7 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
starMenu.setTitle(entry.isStarred() ? R.string.common_unstar : R.string.common_star);
}
- if(!isShowArtistEnabled() || entry.getParent() == null || (Util.isTagBrowsing(context) && entry.getArtistId() == null)) {
+ if(!isShowArtistEnabled() || (!Util.isTagBrowsing(context) && entry.getParent() == null) || (Util.isTagBrowsing(context) && entry.getArtistId() == null)) {
menu.setGroupVisible(R.id.hide_show_artist, false);
}
} else if(selected instanceof Artist) {