Hide multi-select in nav bar

This commit is contained in:
ByteHamster 2021-09-17 22:33:18 +02:00
parent 1e94fa59ea
commit 6361ba35b3
2 changed files with 3 additions and 1 deletions

View File

@ -133,6 +133,7 @@ public class SubscriptionsRecyclerAdapter extends SelectableAdapter<Subscription
MenuInflater inflater = mainActivityRef.get().getMenuInflater(); MenuInflater inflater = mainActivityRef.get().getMenuInflater();
inflater.inflate(R.menu.nav_feed_context, menu); inflater.inflate(R.menu.nav_feed_context, menu);
menu.setHeaderTitle(selectedFeed.getTitle()); menu.setHeaderTitle(selectedFeed.getTitle());
menu.findItem(R.id.multi_select).setVisible(true);
} }
} }

View File

@ -24,5 +24,6 @@
<item <item
android:id="@+id/multi_select" android:id="@+id/multi_select"
android:menuCategory="container" android:menuCategory="container"
android:title="@string/multi_select" /> android:title="@string/multi_select"
android:visible="false" />
</menu> </menu>