Bladeren bron

also hide test server button (arrow) when changing password

tobiasKaminsky 7 jaren geleden
bovenliggende
commit
b09be26992
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java

+ 2 - 0
src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java

@@ -588,6 +588,8 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
         welcomeLink.setVisibility(mAction == ACTION_CREATE && isWelcomeLinkVisible ? View.VISIBLE : View.GONE);
         welcomeLink.setText(getString(R.string.auth_register));
 
+        mTestServerButton.setVisibility(mAction == ACTION_CREATE ? View.VISIBLE : View.GONE);
+
         TextView instructionsView = (TextView) findViewById(R.id.instructions_message);
         if (instructionsMessageText != null) {
             instructionsView.setVisibility(View.VISIBLE);