Fixes follow requests button in the main menu acting as though it were the log out button. Closes #307

This commit is contained in:
Vavassor 2017-06-08 19:47:33 -04:00
parent cf64cc9ed6
commit 93f5e416c0
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ public class MainActivity extends BaseActivity {
// Show follow requests in the menu, if this is a locked account. // Show follow requests in the menu, if this is a locked account.
if (me.locked) { if (me.locked) {
PrimaryDrawerItem followRequestsItem = new PrimaryDrawerItem() PrimaryDrawerItem followRequestsItem = new PrimaryDrawerItem()
.withIdentifier(6) .withIdentifier(7)
.withName(R.string.action_view_follow_requests) .withName(R.string.action_view_follow_requests)
.withSelectable(false) .withSelectable(false)
.withIcon(GoogleMaterial.Icon.gmd_person_add); .withIcon(GoogleMaterial.Icon.gmd_person_add);