1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-20 06:09:06 +00:00

Small fix

This commit is contained in:
M66B 2024-12-25 10:32:06 +01:00
parent e96b4f787b
commit e982784757

View file

@ -6450,7 +6450,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
popupMenu.getMenu().findItem(R.id.menu_summarize).setVisible( popupMenu.getMenu().findItem(R.id.menu_summarize).setVisible(
AI.isAvailable(context) && message.content); AI.isAvailable(context) && message.content);
popupMenu.getMenu().findItem(R.id.menu_force_light).setVisible(dark); popupMenu.getMenu().findItem(R.id.menu_force_light).setVisible(dark && (full || experiments));
popupMenu.getMenu().findItem(R.id.menu_force_light).setChecked(force_light); popupMenu.getMenu().findItem(R.id.menu_force_light).setChecked(force_light);
popupMenu.getMenu().findItem(R.id.menu_share).setEnabled(message.content); popupMenu.getMenu().findItem(R.id.menu_share).setEnabled(message.content);