Promote global settings to main drawer
This commit is contained in:
@@ -208,21 +208,21 @@ class MainActivity extends Activity with ServiceBoundContext with Drawer.OnDrawe
|
||||
.withIdentifier(DRAWER_PROFILES)
|
||||
.withName(R.string.profiles)
|
||||
.withIcon(ContextCompat.getDrawable(this, R.drawable.ic_action_description))
|
||||
.withIconTintingEnabled(true),
|
||||
new PrimaryDrawerItem()
|
||||
.withIdentifier(DRAWER_GLOBAL_SETTINGS)
|
||||
.withName(R.string.settings)
|
||||
.withIcon(ContextCompat.getDrawable(this, R.drawable.ic_action_settings))
|
||||
.withIconTintingEnabled(true)
|
||||
)
|
||||
.addStickyDrawerItems(
|
||||
new SecondaryDrawerItem()
|
||||
new PrimaryDrawerItem()
|
||||
.withIdentifier(DRAWER_RECOVERY)
|
||||
.withName(R.string.recovery)
|
||||
.withIcon(ContextCompat.getDrawable(this, R.drawable.ic_navigation_refresh))
|
||||
.withIconTintingEnabled(true)
|
||||
.withSelectable(false),
|
||||
new SecondaryDrawerItem()
|
||||
.withIdentifier(DRAWER_GLOBAL_SETTINGS)
|
||||
.withName(R.string.settings)
|
||||
.withIcon(ContextCompat.getDrawable(this, R.drawable.ic_action_settings))
|
||||
.withIconTintingEnabled(true),
|
||||
new SecondaryDrawerItem()
|
||||
new PrimaryDrawerItem()
|
||||
.withIdentifier(DRAWER_ABOUT)
|
||||
.withName(R.string.about)
|
||||
.withIcon(ContextCompat.getDrawable(this, R.drawable.ic_action_copyright))
|
||||
|
||||
Reference in New Issue
Block a user