mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 10:47:28 +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
|
||||
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);
|
||||
ToastEx.makeText(context, Log.formatThrowable(exex), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue