mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Removed default signature
This commit is contained in:
parent
fe7887a114
commit
c9efe89ca7
2 changed files with 1 additions and 11 deletions
|
@ -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…
Reference in a new issue