mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 18:59:01 +00:00
Allow moving of failed sent messages to drafts
This commit is contained in:
parent
0cad384e6d
commit
e38a5346b2
1 changed files with 3 additions and 2 deletions
|
@ -785,9 +785,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
bnvActions.getMenu().findItem(R.id.action_delete).setTitle(inTrash ? R.string.title_delete : R.string.title_trash);
|
||||
|
||||
bnvActions.getMenu().findItem(R.id.action_move).setVisible(
|
||||
message.uid != null || (inOutbox && message.ui_snoozed != null));
|
||||
message.uid != null || (inOutbox && (message.ui_snoozed != null || message.error != null)));
|
||||
bnvActions.getMenu().findItem(R.id.action_move).setTitle(
|
||||
inOutbox && message.ui_snoozed != null ? R.string.title_folder_drafts : R.string.title_move);
|
||||
inOutbox && (message.ui_snoozed != null || message.error != null)
|
||||
? R.string.title_folder_drafts : R.string.title_move);
|
||||
|
||||
bnvActions.getMenu().findItem(R.id.action_archive).setVisible(message.uid != null && !inArchive && hasArchive);
|
||||
bnvActions.getMenu().findItem(R.id.action_reply).setEnabled(message.content);
|
||||
|
|
Loading…
Reference in a new issue