mirror of https://github.com/readrops/Readrops.git
About drawer item can't be selectable and articles item must be selected when recreating feeds items list
This commit is contained in:
parent
c0ba878d6c
commit
e1a52d7b27
|
@ -120,6 +120,8 @@ public class DrawerManager {
|
|||
for (SecondaryDrawerItem primaryDrawerItem : feedsWithoutFolder) {
|
||||
drawer.addItem(primaryDrawerItem);
|
||||
}
|
||||
|
||||
drawer.setSelection(ARTICLES_ITEM_ID);
|
||||
}
|
||||
|
||||
private void createAccountHeader(List<Account> accounts) {
|
||||
|
@ -207,7 +209,7 @@ public class DrawerManager {
|
|||
PrimaryDrawerItem aboutItem = new PrimaryDrawerItem()
|
||||
.withName(R.string.about)
|
||||
.withIcon(R.drawable.ic_about_grey)
|
||||
.withSelectable(true)
|
||||
.withSelectable(false)
|
||||
.withIdentifier(ABOUT_ID);
|
||||
|
||||
drawer.addStickyFooterItem(aboutItem);
|
||||
|
|
Loading…
Reference in New Issue