mirror of https://github.com/M66B/FairEmail.git
Allow deleting trashed messages without ID
This commit is contained in:
parent
ac3caad6ed
commit
2acf64ecb1
|
@ -1000,7 +1000,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
bnvActions.getMenu().findItem(R.id.action_more).setVisible(!inOutbox);
|
||||
|
||||
bnvActions.getMenu().findItem(R.id.action_delete).setVisible(debug ||
|
||||
(inTrash && message.msgid != null) ||
|
||||
(inTrash && (message.uid != null || message.msgid != null)) ||
|
||||
(!inTrash && hasTrash && message.uid != null) ||
|
||||
(inOutbox && !TextUtils.isEmpty(message.error)));
|
||||
bnvActions.getMenu().findItem(R.id.action_delete).setTitle(inTrash ? R.string.title_delete : R.string.title_trash);
|
||||
|
|
Loading…
Reference in New Issue