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

main
Vavassor 8 years ago
parent 800f467441
commit 16b29e1acd
  1. 2
      app/src/main/java/com/keylesspalace/tusky/MainActivity.java

@ -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);

Loading…
Cancel
Save