1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Allow dismissing discard draft dialog

This commit is contained in:
M66B 2018-10-23 17:52:52 +00:00
parent 9d53085249
commit 8ccc024854

View file

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