mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Select drafts too
This commit is contained in:
parent
0a53707ffa
commit
f27d7a49ef
1 changed files with 3 additions and 2 deletions
|
@ -2833,12 +2833,13 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
|
|
||||||
if (EntityFolder.DRAFTS.equals(message.folderType) && message.visible == 1 &&
|
if (EntityFolder.DRAFTS.equals(message.folderType) && message.visible == 1 &&
|
||||||
!EntityMessage.PGP_SIGNENCRYPT.equals(message.encrypt) &&
|
!EntityMessage.PGP_SIGNENCRYPT.equals(message.encrypt) &&
|
||||||
!EntityMessage.SMIME_SIGNENCRYPT.equals(message.encrypt))
|
!EntityMessage.SMIME_SIGNENCRYPT.equals(message.encrypt)) {
|
||||||
context.startActivity(
|
context.startActivity(
|
||||||
new Intent(context, ActivityCompose.class)
|
new Intent(context, ActivityCompose.class)
|
||||||
.putExtra("action", "edit")
|
.putExtra("action", "edit")
|
||||||
.putExtra("id", message.id));
|
.putExtra("id", message.id));
|
||||||
else {
|
properties.setValue("selected", message.id, true);
|
||||||
|
} else {
|
||||||
final LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
|
final LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
|
||||||
final Intent viewThread = new Intent(ActivityView.ACTION_VIEW_THREAD)
|
final Intent viewThread = new Intent(ActivityView.ACTION_VIEW_THREAD)
|
||||||
.putExtra("account", message.account)
|
.putExtra("account", message.account)
|
||||||
|
|
Loading…
Reference in a new issue