diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-03-06 09:14:45 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-03-06 09:14:45 -0800 |
commit | a313c154155ae46d78f49178dd1e62ab35be082f (patch) | |
tree | ebc5cb0271902eddc7fc231cc1c44681c2c93249 /src/github/daneren2005 | |
parent | 721de001b3aa4ca77154132cbeeb32d08ee23a24 (diff) | |
download | dsub-a313c154155ae46d78f49178dd1e62ab35be082f.tar.gz dsub-a313c154155ae46d78f49178dd1e62ab35be082f.tar.bz2 dsub-a313c154155ae46d78f49178dd1e62ab35be082f.zip |
Don't show artist menu items for root folders
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java index b83d2134..914932d7 100644 --- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java @@ -228,7 +228,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter if(!ServerInfo.isMadsonic(context)) {
menu.removeItem(R.id.menu_top_tracks);
}
- if(!ServerInfo.checkServerVersion(context, "1.11") || !ServerInfo.isStockSubsonic(context)) {
+ if(!ServerInfo.checkServerVersion(context, "1.11") || !ServerInfo.isStockSubsonic(context) || (id != null && "root".equals(id))) {
menu.removeItem(R.id.menu_similar_artists);
menu.removeItem(R.id.menu_radio);
}
|