Debug: share as HTML

pull/206/head
M66B 3 years ago
parent f1d8879aa1
commit ca1506a091

@ -4698,7 +4698,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
popupMenu.getMenu().findItem(R.id.menu_show_headers).setEnabled(message.uid != null || popupMenu.getMenu().findItem(R.id.menu_show_headers).setEnabled(message.uid != null ||
(message.accountProtocol == EntityAccount.TYPE_POP && message.headers != 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 || boolean canRaw = (message.uid != null ||
(EntityFolder.INBOX.equals(message.folderType) && (EntityFolder.INBOX.equals(message.folderType) &&

Loading…
Cancel
Save