mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 15:40:59 +01:00
Removed select account
This commit is contained in:
@@ -119,6 +119,7 @@ public class EmailProvider {
|
||||
throw new IllegalAccessException(name);
|
||||
} else if (eventType == XmlPullParser.END_TAG) {
|
||||
if ("provider".equals(xml.getName())) {
|
||||
addSpecials(context, provider);
|
||||
result.add(provider);
|
||||
provider = null;
|
||||
}
|
||||
@@ -411,12 +412,12 @@ public class EmailProvider {
|
||||
if ("imap.gmail.com".equals(provider.imap_host))
|
||||
addDocumentation(provider,
|
||||
"https://github.com/M66B/open-source-email/blob/master/FAQ.md#user-content-faq6",
|
||||
context.getString(R.string.title_setup_setting_gmail));
|
||||
context.getString(R.string.title_setup_instructions));
|
||||
|
||||
if (provider.imap_host.endsWith("yahoo.com"))
|
||||
addDocumentation(provider,
|
||||
"https://github.com/M66B/open-source-email/blob/master/FAQ.md#user-content-faq88",
|
||||
context.getString(R.string.title_setup_setting_yahoo));
|
||||
context.getString(R.string.title_setup_instructions));
|
||||
|
||||
return provider;
|
||||
}
|
||||
@@ -440,12 +441,6 @@ public class EmailProvider {
|
||||
return (records == null || records.length == 0 ? null : (SRVRecord) records[0]);
|
||||
}
|
||||
|
||||
int getAuthType() {
|
||||
if ("com.google".equals(type))
|
||||
return ConnectionHelper.AUTH_TYPE_GMAIL;
|
||||
return ConnectionHelper.AUTH_TYPE_PASSWORD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user