1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 01:36:55 +00:00

No decrypt in outbox

This commit is contained in:
M66B 2018-09-01 06:35:00 +00:00
parent e6e8916e3d
commit cfeccc6f62

View file

@ -653,7 +653,7 @@ public class FragmentMessage extends FragmentEx {
menu.findItem(R.id.menu_thread).setVisible(!free && !message.virtual && message.count > 1); menu.findItem(R.id.menu_thread).setVisible(!free && !message.virtual && message.count > 1);
menu.findItem(R.id.menu_forward).setVisible(!free && !message.virtual && !inOutbox); menu.findItem(R.id.menu_forward).setVisible(!free && !message.virtual && !inOutbox);
menu.findItem(R.id.menu_reply_all).setVisible(!free && !message.virtual && message.cc != null && !inOutbox); menu.findItem(R.id.menu_reply_all).setVisible(!free && !message.virtual && message.cc != null && !inOutbox);
menu.findItem(R.id.menu_decrypt).setVisible(decrypted == null); menu.findItem(R.id.menu_decrypt).setVisible(decrypted == null && !inOutbox);
} }
@Override @Override