mirror of https://github.com/M66B/FairEmail.git
Allow downloading raw without showing headers
This commit is contained in:
parent
7c2f221282
commit
41adbe698b
|
@ -2576,7 +2576,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
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);
|
||||||
|
|
||||||
popupMenu.getMenu().findItem(R.id.menu_raw).setVisible(show_headers);
|
|
||||||
popupMenu.getMenu().findItem(R.id.menu_raw).setEnabled(
|
popupMenu.getMenu().findItem(R.id.menu_raw).setEnabled(
|
||||||
data.message.uid != null && (data.message.raw == null || data.message.raw));
|
data.message.uid != null && (data.message.raw == null || data.message.raw));
|
||||||
popupMenu.getMenu().findItem(R.id.menu_raw).setTitle(
|
popupMenu.getMenu().findItem(R.id.menu_raw).setTitle(
|
||||||
|
|
Loading…
Reference in New Issue