Prevent crash

pull/159/head
M66B 6 years ago
parent ae029a1b11
commit 667e25b7dd

@ -368,7 +368,7 @@ public class FragmentQuickSetup extends FragmentBase {
identity.display = null; identity.display = null;
identity.color = null; identity.color = null;
CharSequence promote = getText(R.string.app_promote); CharSequence promote = context.getText(R.string.app_promote);
if (promote instanceof Spanned) if (promote instanceof Spanned)
identity.signature = HtmlHelper.toHtml((Spanned) promote); identity.signature = HtmlHelper.toHtml((Spanned) promote);
else else

Loading…
Cancel
Save