mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Remark translate mark on error
This commit is contained in:
parent
d7162cfb03
commit
401ded742f
1 changed files with 4 additions and 0 deletions
|
@ -8168,6 +8168,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onException(Bundle args, Throwable ex) {
|
protected void onException(Bundle args, Throwable ex) {
|
||||||
|
SpannableStringBuilder ssb = new SpannableStringBuilderEx(tvText.getText());
|
||||||
|
ssb.removeSpan(mark);
|
||||||
|
tvText.setText(ssb);
|
||||||
|
|
||||||
Throwable exex = new Throwable("DeepL", ex);
|
Throwable exex = new Throwable("DeepL", ex);
|
||||||
ToastEx.makeText(context, Log.formatThrowable(exex), Toast.LENGTH_LONG).show();
|
ToastEx.makeText(context, Log.formatThrowable(exex), Toast.LENGTH_LONG).show();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue