mirror of https://github.com/M66B/FairEmail.git
Disabled Outlook OAuth/password edit
This commit is contained in:
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…
Reference in New Issue