From 3c20b5991fee728bd324a95beedfaf6e386b8285 Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Wed, 18 Jun 2014 15:30:27 -0700 Subject: Don't show Add To Playlist/Star options for < 4.7 --- src/github/daneren2005/dsub/fragments/SubsonicFragment.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java index 62028666..cfbeaea9 100644 --- a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java +++ b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java @@ -201,6 +201,10 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR } } + if(!Util.checkServerVersion(context, "1.8")) { + menu.setGroupVisible(R.id.server_1_8, false); + menu.setGroupVisible(R.id.hide_star, false); + } if(!Util.checkServerVersion(context, "1.10.1")) { menu.setGroupVisible(R.id.server_1_10, false); } -- cgit v1.2.3