diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-03-21 17:46:13 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-03-21 17:46:13 -0700 |
commit | a55812c8876d9e17a61bc9c49a7a6f0712eeae0b (patch) | |
tree | fff023770637e118c9669ebc123b9b713efd12f6 /app | |
parent | 49d7e06385e5d321cd6aec6b705f0361163aacbc (diff) | |
download | dsub-a55812c8876d9e17a61bc9c49a7a6f0712eeae0b.tar.gz dsub-a55812c8876d9e17a61bc9c49a7a6f0712eeae0b.tar.bz2 dsub-a55812c8876d9e17a61bc9c49a7a6f0712eeae0b.zip |
Fixes #664: Show Artist when browsing by tags
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java | 2 |
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) { |