From c5ee24e44927db9688a825b655fa8fa80e5ca944 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 11 Jun 2014 17:51:48 -0700 Subject: Fix permissions being editable if old server --- src/github/daneren2005/dsub/fragments/UserFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github/daneren2005/dsub/fragments/UserFragment.java b/src/github/daneren2005/dsub/fragments/UserFragment.java index fbd672c0..1ad62d87 100644 --- a/src/github/daneren2005/dsub/fragments/UserFragment.java +++ b/src/github/daneren2005/dsub/fragments/UserFragment.java @@ -60,7 +60,7 @@ public class UserFragment extends SubsonicFragment{ listView = (ListView)rootView.findViewById(R.id.fragment_list); createHeader(); - listView.setAdapter(new SettingsAdapter(context, user.getSettings(), UserUtil.isCurrentAdmin())); + listView.setAdapter(new SettingsAdapter(context, user.getSettings(), UserUtil.isCurrentAdmin() && Util.checkServerVersion(context, "1.10"))); setTitle(user.getUsername()); -- cgit v1.2.3