diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-06-11 17:51:48 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-06-11 17:51:48 -0700 |
commit | c5ee24e44927db9688a825b655fa8fa80e5ca944 (patch) | |
tree | d83d6ff49476b4a4d89ea8bd97dee94c5de67f95 | |
parent | c4cfca112c442861260f54f581e9e2d14d103c34 (diff) | |
download | dsub-c5ee24e44927db9688a825b655fa8fa80e5ca944.tar.gz dsub-c5ee24e44927db9688a825b655fa8fa80e5ca944.tar.bz2 dsub-c5ee24e44927db9688a825b655fa8fa80e5ca944.zip |
Fix permissions being editable if old server
-rw-r--r-- | src/github/daneren2005/dsub/fragments/UserFragment.java | 2 |
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());
|