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