diff options
author | daneren2005 <daneren2005@gmail.com> | 2014-07-01 11:33:51 -0700 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2014-07-01 11:33:51 -0700 |
commit | 19ea712225738881cae9bf0210ea68ea36208109 (patch) | |
tree | 294d4326c8ef0c5ff19568716706632e2bdc7a34 /src/github | |
parent | b468a7eeedb9d1521835409012c1ea2144aae5e7 (diff) | |
download | dsub-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.java | 2 |
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);
}
}
|