1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Enabled share as HTML for non Play store versions

This commit is contained in:
M66B 2021-10-14 20:08:19 +02:00
parent bddd2fc3f9
commit f36ad91aaa

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 &&
(BuildConfig.DEBUG || !BuildConfig.PLAY_STORE_RELEASE));
boolean canRaw = (message.uid != null ||
(EntityFolder.INBOX.equals(message.folderType) &&