aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-06-11 17:51:48 -0700
committerScott Jackson <daneren2005@gmail.com>2014-06-11 17:51:48 -0700
commitc5ee24e44927db9688a825b655fa8fa80e5ca944 (patch)
treed83d6ff49476b4a4d89ea8bd97dee94c5de67f95 /src
parentc4cfca112c442861260f54f581e9e2d14d103c34 (diff)
downloaddsub-c5ee24e44927db9688a825b655fa8fa80e5ca944.tar.gz
dsub-c5ee24e44927db9688a825b655fa8fa80e5ca944.tar.bz2
dsub-c5ee24e44927db9688a825b655fa8fa80e5ca944.zip
Fix permissions being editable if old server
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/UserFragment.java2
1 files changed, 1 insertions, 1 deletions
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());