1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Allow empty identity name

This commit is contained in:
M66B 2021-03-11 12:02:44 +01:00
parent 848b0a2d2a
commit a33c66803b

View file

@ -706,8 +706,8 @@ public class FragmentIdentity extends FragmentBase {
host = h.getHost();
}
if (TextUtils.isEmpty(name) && !should)
throw new IllegalArgumentException(context.getString(R.string.title_no_name));
//if (TextUtils.isEmpty(name) && !should)
// throw new IllegalArgumentException(context.getString(R.string.title_no_name));
if (TextUtils.isEmpty(email) && !should)
throw new IllegalArgumentException(context.getString(R.string.title_no_email));
if (!Helper.EMAIL_ADDRESS.matcher(email).matches() && !should)