mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
parent
8df71f1720
commit
95afb31925
1 changed files with 3 additions and 1 deletions
|
@ -110,7 +110,9 @@ public class ActivityError extends ActivityBase {
|
|||
|
||||
boolean password = (auth_type == ServiceAuthenticator.AUTH_TYPE_PASSWORD);
|
||||
boolean outlook = ("outlook.office365.com".equalsIgnoreCase(host) ||
|
||||
"smtp.office365.com".equalsIgnoreCase(host));
|
||||
"smtp.office365.com".equalsIgnoreCase(host) ||
|
||||
"imap-mail.outlook.com".equalsIgnoreCase(host) ||
|
||||
"smtp-mail.outlook.com".equalsIgnoreCase(host));
|
||||
|
||||
btnPassword.setText(password && !outlook ? R.string.title_password : R.string.title_setup_oauth_authorize);
|
||||
btnPassword.setCompoundDrawablesRelativeWithIntrinsicBounds(
|
||||
|
|
Loading…
Reference in a new issue