diff --git a/app/src/main/java/eu/faircode/email/FragmentOAuth.java b/app/src/main/java/eu/faircode/email/FragmentOAuth.java index 18c4707435..7cb9420ae6 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOAuth.java +++ b/app/src/main/java/eu/faircode/email/FragmentOAuth.java @@ -658,9 +658,10 @@ public class FragmentOAuth extends FragmentBase { if ("gmail".equals(id)) tvGmailDraftsHint.setVisibility(View.VISIBLE); - if ("office365".equals(id) && - ex instanceof AuthenticationFailedException) { - tvOfficeAuthHint.setVisibility(View.VISIBLE); + if ("office365".equals(id)) { + if (ex instanceof AuthenticationFailedException) + tvOfficeAuthHint.setVisibility(View.VISIBLE); + String e = etEmail.getText().toString().toLowerCase(); if (e.contains("@outlook") || e.contains("@live") ||