Prevent crash

This commit is contained in:
M66B 2022-03-22 22:20:15 +01:00
parent a8bf07d269
commit 6c23d1c8f4
1 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ public class EntityAnswer implements Serializable {
ssb.append(" host ");
start = ssb.length();
ssb.append(p.imap.host);
ssb.append(p.imap.host == null ? "?" : p.imap.host);
ssb.setSpan(new StyleSpan(Typeface.BOLD),
start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
@ -307,7 +307,7 @@ public class EntityAnswer implements Serializable {
ssb.append(" host ");
start = ssb.length();
ssb.append(p.smtp.host);
ssb.append(p.smtp.host == null ? "?" : p.smtp.host);
ssb.setSpan(new StyleSpan(Typeface.BOLD),
start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);