Debug: share as HTML

This commit is contained in:
M66B 2021-10-14 18:14:52 +02:00
parent f1d8879aa1
commit ca1506a091
1 changed files with 2 additions and 1 deletions

View File

@ -4698,7 +4698,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
popupMenu.getMenu().findItem(R.id.menu_show_headers).setEnabled(message.uid != null ||
(message.accountProtocol == EntityAccount.TYPE_POP && message.headers != null));
popupMenu.getMenu().findItem(R.id.menu_share_as_html).setVisible(message.content && BuildConfig.DEBUG);
popupMenu.getMenu().findItem(R.id.menu_share_as_html).setVisible(message.content &&
(debug || BuildConfig.DEBUG));
boolean canRaw = (message.uid != null ||
(EntityFolder.INBOX.equals(message.folderType) &&