Commit 07dfbcdc authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Fix typo

parent 95ea9692
......@@ -34,7 +34,7 @@ internal fun MainActivity.setupMenu(menu: Menu) {
R.string.title_settings
).setIcon(R.drawable.ic_settings_black_24dp)
if (permissions.canSeeTheAdminChannel()) {
if (permissions.canSeeTheAdminPanel()) {
menu.add(
R.id.menu_section_two,
R.id.menu_action_admin_panel,
......
......@@ -69,7 +69,7 @@ class PermissionsInteractor @Inject constructor(
}
fun canSeeTheAdminChannel(): Boolean {
fun canSeeTheAdminPanel(): Boolean {
currentServerUrl()?.let { serverUrl ->
val viewStatistics =
permissionsRepository.get(serverUrl, VIEW_STATISTICS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment