mirror of https://github.com/M66B/FairEmail.git
Allow dismissing discard draft dialog
This commit is contained in:
parent
9d53085249
commit
8ccc024854
|
@ -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…
Reference in New Issue