Fixed empty signatures

This commit is contained in:
M66B
2019-01-09 07:30:46 +00:00
parent b500ea1995
commit 3917f0401e
2 changed files with 6 additions and 5 deletions

View File

@@ -704,7 +704,8 @@ public class FragmentIdentity extends FragmentEx {
etEmail.setText(identity == null ? null : identity.email);
etDisplay.setText(identity == null ? null : identity.display);
etSignature.setText(identity == null || identity.signature == null ? null : Html.fromHtml(identity.signature));
etSignature.setText(identity == null ||
TextUtils.isEmpty(identity.signature) ? null : Html.fromHtml(identity.signature));
etHost.setText(identity == null ? null : identity.host);
cbStartTls.setChecked(identity == null ? false : identity.starttls);