Enabled share as HTML for non Play store versions

pull/206/head
M66B 3 years ago
parent bddd2fc3f9
commit f36ad91aaa

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

Loading…
Cancel
Save