Small fix

This commit is contained in:
M66B 2020-12-12 16:18:04 +01:00
parent 67299fc246
commit 6d3ba7213e
1 changed files with 4 additions and 3 deletions

View File

@ -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") ||