aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2014-07-01 11:33:51 -0700
committerdaneren2005 <daneren2005@gmail.com>2014-07-01 11:33:51 -0700
commit19ea712225738881cae9bf0210ea68ea36208109 (patch)
tree294d4326c8ef0c5ff19568716706632e2bdc7a34 /src/github
parentb468a7eeedb9d1521835409012c1ea2144aae5e7 (diff)
downloaddsub-19ea712225738881cae9bf0210ea68ea36208109.tar.gz
dsub-19ea712225738881cae9bf0210ea68ea36208109.tar.bz2
dsub-19ea712225738881cae9bf0210ea68ea36208109.zip
Use User constant
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/fragments/AdminFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/AdminFragment.java b/src/github/daneren2005/dsub/fragments/AdminFragment.java
index cbced58c..5a69534d 100644
--- a/src/github/daneren2005/dsub/fragments/AdminFragment.java
+++ b/src/github/daneren2005/dsub/fragments/AdminFragment.java
@@ -70,7 +70,7 @@ public class AdminFragment extends SelectListFragment<User> {
MenuInflater inflater = context.getMenuInflater();
if(UserUtil.isCurrentAdmin()) {
inflater.inflate(R.menu.admin_context, menu);
- } else if(UserUtil.isCurrentRole("settingsRole")) {
+ } else if(UserUtil.isCurrentRole(User.SETTINGS)) {
inflater.inflate(R.menu.admin_context_user, menu);
}
}