mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Enable compose view after error
This commit is contained in:
parent
d17b7431a0
commit
04c8b05f87
1 changed files with 7 additions and 4 deletions
|
@ -4296,10 +4296,13 @@ public class FragmentCompose extends FragmentBase {
|
||||||
protected void onException(Bundle args, Throwable ex) {
|
protected void onException(Bundle args, Throwable ex) {
|
||||||
if (ex instanceof MessageRemovedException)
|
if (ex instanceof MessageRemovedException)
|
||||||
finish();
|
finish();
|
||||||
else if (ex instanceof IllegalArgumentException)
|
else {
|
||||||
Snackbar.make(view, ex.getMessage(), Snackbar.LENGTH_LONG).show();
|
setBusy(false);
|
||||||
else
|
if (ex instanceof IllegalArgumentException)
|
||||||
Log.unexpectedError(getParentFragmentManager(), ex);
|
Snackbar.make(view, ex.getMessage(), Snackbar.LENGTH_LONG).show();
|
||||||
|
else
|
||||||
|
Log.unexpectedError(getParentFragmentManager(), ex);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getActionName(int id) {
|
private String getActionName(int id) {
|
||||||
|
|
Loading…
Reference in a new issue