|
@@ -432,9 +432,6 @@ implements OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
|
|
if (view.getId() == R.id.hostUrlInput) {
|
|
if (view.getId() == R.id.hostUrlInput) {
|
|
if (!hasFocus) {
|
|
if (!hasFocus) {
|
|
onUrlInputFocusLost((TextView) view);
|
|
onUrlInputFocusLost((TextView) view);
|
|
- if (!mServerIsValid) {
|
|
|
|
- showRefreshButton();
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
hideRefreshButton();
|
|
hideRefreshButton();
|
|
@@ -462,6 +459,9 @@ implements OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
|
|
checkOcServer();
|
|
checkOcServer();
|
|
} else {
|
|
} else {
|
|
mOkButton.setEnabled(mServerIsValid);
|
|
mOkButton.setEnabled(mServerIsValid);
|
|
|
|
+ if (!mServerIsValid) {
|
|
|
|
+ showRefreshButton();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|