Show right delete icon nav bar

pull/202/head
M66B 3 years ago
parent d1c47466ae
commit ff22c5bbb1

@ -5384,6 +5384,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
bottom_navigation.setTag(data);
bottom_navigation.getMenu().findItem(R.id.action_delete).setIcon(
data.delete ? R.drawable.twotone_delete_forever_24 : R.drawable.twotone_delete_24);
bottom_navigation.getMenu().findItem(R.id.action_delete).setVisible(data.trashable);
bottom_navigation.getMenu().findItem(R.id.action_snooze).setVisible(data.snoozable);
bottom_navigation.getMenu().findItem(R.id.action_archive).setVisible(data.archivable);

Loading…
Cancel
Save