فهرست منبع

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

David A. Velasco 12 سال پیش
والد
کامیت
af4b0bc90b
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      src/com/owncloud/android/authentication/AuthenticatorActivity.java

+ 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();