Disabled Outlook OAuth/password edit

pull/206/head
M66B 3 years ago
parent 5536afb45d
commit dc753178d1

@ -66,7 +66,7 @@ public class ActivityError extends ActivityBase {
boolean outlook = (auth_type == ServiceAuthenticator.AUTH_TYPE_OAUTH && boolean outlook = (auth_type == ServiceAuthenticator.AUTH_TYPE_OAUTH &&
("office365".equals(provider) || "outlook".equals(provider))); ("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() { btnPassword.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {

Loading…
Cancel
Save