Commit a18eb32b authored by Mygod's avatar Mygod

Promote global settings to main drawer

parent 915a0eff
......@@ -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))
......
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