projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid that refresh button appears while checking remote server
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
authentication
/
AuthenticatorActivity.java
diff --git
a/src/com/owncloud/android/authentication/AuthenticatorActivity.java
b/src/com/owncloud/android/authentication/AuthenticatorActivity.java
index
18226a5
..
0578905
100644
(file)
--- a/
src/com/owncloud/android/authentication/AuthenticatorActivity.java
+++ b/
src/com/owncloud/android/authentication/AuthenticatorActivity.java
@@
-432,9
+432,6
@@
implements OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
if (view.getId() == R.id.hostUrlInput) {
\r
if (!hasFocus) {
\r
onUrlInputFocusLost((TextView) view);
\r
if (view.getId() == R.id.hostUrlInput) {
\r
if (!hasFocus) {
\r
onUrlInputFocusLost((TextView) view);
\r
- if (!mServerIsValid) {
\r
- showRefreshButton();
\r
- }
\r
}
\r
else {
\r
hideRefreshButton();
\r
}
\r
else {
\r
hideRefreshButton();
\r
@@
-462,6
+459,9
@@
implements OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
checkOcServer();
\r
} else {
\r
mOkButton.setEnabled(mServerIsValid);
\r
checkOcServer();
\r
} else {
\r
mOkButton.setEnabled(mServerIsValid);
\r
+ if (!mServerIsValid) {
\r
+ showRefreshButton();
\r
+ }
\r
}
\r
}
\r
\r
}
\r
}
\r
\r