Disabled Outlook OAuth/password edit

This commit is contained in:
M66B 2021-10-02 08:36:59 +02:00
parent 5536afb45d
commit dc753178d1
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class ActivityError extends ActivityBase {
boolean outlook = (auth_type == ServiceAuthenticator.AUTH_TYPE_OAUTH &&
("office365".equals(provider) || "outlook".equals(provider)));
btnPassword.setVisibility(outlook ? View.VISIBLE : View.GONE);
btnPassword.setVisibility(outlook && BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
btnPassword.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {