Removed default signature

pull/161/head
M66B 5 years ago
parent fe7887a114
commit c9efe89ca7

@ -827,11 +827,6 @@ public class FragmentIdentity extends FragmentBase {
etDisplay.setText(identity == null ? null : identity.display);
String signature = (identity == null ? null : identity.signature);
if (identity == null) {
CharSequence promote = getText(R.string.app_promote);
if (promote instanceof Spanned)
signature = HtmlHelper.toHtml((Spanned) promote);
}
etSignature.setText(TextUtils.isEmpty(signature) ? null : HtmlHelper.fromHtml(signature));
etSignature.setTag(signature);

@ -27,7 +27,6 @@ import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.text.Spanned;
import android.text.TextUtils;
import android.text.method.LinkMovementMethod;
import android.util.Patterns;
@ -380,11 +379,7 @@ public class FragmentQuickSetup extends FragmentBase {
identity.display = null;
identity.color = null;
CharSequence promote = context.getText(R.string.app_promote);
if (promote instanceof Spanned)
identity.signature = HtmlHelper.toHtml((Spanned) promote);
else
identity.signature = null;
identity.signature = null;
identity.auth_type = ConnectionHelper.AUTH_TYPE_PASSWORD;
identity.host = provider.smtp_host;

Loading…
Cancel
Save