Browse Source

Allow dismissing discard draft dialog

main
M66B 6 years ago
parent
commit
8ccc024854
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      app/src/main/java/eu/faircode/email/FragmentCompose.java

+ 6
- 0
app/src/main/java/eu/faircode/email/FragmentCompose.java View File

@ -589,6 +589,12 @@ public class FragmentCompose extends FragmentEx {
.setNegativeButton(R.string.title_no, new DialogInterface.OnClickListener() { .setNegativeButton(R.string.title_no, new DialogInterface.OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialog, int which) { public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
}
})
.setOnDismissListener(new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {
finish(); finish();
} }
}) })


Loading…
Cancel
Save