mirror of https://github.com/M66B/FairEmail.git
Copy custom IMAP host to custom SMTP host
This commit is contained in:
parent
6ff3264e63
commit
104fa6f8c4
|
@ -214,9 +214,11 @@ public class FragmentIdentity extends FragmentBase {
|
||||||
auth_type = account.auth_type;
|
auth_type = account.auth_type;
|
||||||
|
|
||||||
// Select associated provider
|
// Select associated provider
|
||||||
if (position == 0)
|
if (position == 0) {
|
||||||
spProvider.setSelection(0);
|
spProvider.setSelection(0);
|
||||||
else {
|
etHost.setText(account.host.replace("imap", "smtp"));
|
||||||
|
etPort.setText(null);
|
||||||
|
} else {
|
||||||
boolean found = false;
|
boolean found = false;
|
||||||
for (int pos = 1; pos < spProvider.getAdapter().getCount(); pos++) {
|
for (int pos = 1; pos < spProvider.getAdapter().getCount(); pos++) {
|
||||||
EmailProvider provider = (EmailProvider) spProvider.getItemAtPosition(pos);
|
EmailProvider provider = (EmailProvider) spProvider.getItemAtPosition(pos);
|
||||||
|
|
Loading…
Reference in New Issue