Эх сурвалжийг харах

Fixed focus in AuthenticarActivity for changing password so that server URL is not editable

David A. Velasco 12 жил өмнө
parent
commit
af4b0bc90b

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

@@ -253,7 +253,9 @@ implements  OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
         if (mAction == ACTION_UPDATE_TOKEN) {
             /// lock things that should not change
             mHostUrlInput.setEnabled(false);
+            mHostUrlInput.setFocusable(false);
             mUsernameInput.setEnabled(false);
+            mUsernameInput.setFocusable(false);
             mOAuth2Check.setVisibility(View.GONE);
             if (!mServerIsValid && mOcServerChkOperation == null) {
                 checkOcServer();