From a55812c8876d9e17a61bc9c49a7a6f0712eeae0b Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 21 Mar 2016 17:46:13 -0700 Subject: Fixes #664: Show Artist when browsing by tags --- .../main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main') 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) { -- cgit v1.2.3