mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
Enable 'Logs' navigation drawer entry only in DEBUG mode
This commit is contained in:
parent
a9dad9e480
commit
e934f015e8
1 changed files with 6 additions and 2 deletions
|
@ -274,12 +274,16 @@ OnSslUntrustedCertListener, OnEnforceableRefreshListener {
|
|||
|
||||
// TODO Enable when "On Device" is recovered
|
||||
// On Device
|
||||
// mDrawerItems.add(new NavigationDrawerItem(mDrawerTitles[2], mDrawerContentDescriptions[2]));
|
||||
//mDrawerItems.add(new NavigationDrawerItem(mDrawerTitles[2],
|
||||
// mDrawerContentDescriptions[2]));
|
||||
|
||||
// Settings
|
||||
mDrawerItems.add(new NavigationDrawerItem(mDrawerTitles[2], mDrawerContentDescriptions[2]));
|
||||
// Logs
|
||||
mDrawerItems.add(new NavigationDrawerItem(mDrawerTitles[3],mDrawerContentDescriptions[3]));
|
||||
if (BuildConfig.DEBUG) {
|
||||
mDrawerItems.add(new NavigationDrawerItem(mDrawerTitles[3],
|
||||
mDrawerContentDescriptions[3]));
|
||||
}
|
||||
|
||||
// setting the nav drawer list adapter
|
||||
mNavigationDrawerAdapter = new NavigationDrawerListAdapter(getApplicationContext(), this,
|
||||
|
|
Loading…
Reference in a new issue