mirror of https://github.com/M66B/FairEmail.git
Printing requires a web view
This commit is contained in:
parent
8cbc53591f
commit
b28773c4fe
|
@ -2488,7 +2488,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
data.hasJunk && !EntityFolder.JUNK.equals(data.message.folderType));
|
data.hasJunk && !EntityFolder.JUNK.equals(data.message.folderType));
|
||||||
|
|
||||||
popupMenu.getMenu().findItem(R.id.menu_share).setEnabled(data.message.content);
|
popupMenu.getMenu().findItem(R.id.menu_share).setEnabled(data.message.content);
|
||||||
popupMenu.getMenu().findItem(R.id.menu_print).setEnabled(data.message.content);
|
popupMenu.getMenu().findItem(R.id.menu_print).setEnabled(hasWebView && data.message.content);
|
||||||
|
|
||||||
popupMenu.getMenu().findItem(R.id.menu_show_headers).setChecked(show_headers);
|
popupMenu.getMenu().findItem(R.id.menu_show_headers).setChecked(show_headers);
|
||||||
popupMenu.getMenu().findItem(R.id.menu_show_headers).setEnabled(data.message.uid != null);
|
popupMenu.getMenu().findItem(R.id.menu_show_headers).setEnabled(data.message.uid != null);
|
||||||
|
|
Loading…
Reference in New Issue