mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
fix for refresh bug
This commit is contained in:
parent
94bc0699ac
commit
044c597e2b
3 changed files with 5 additions and 16 deletions
|
@ -107,7 +107,7 @@
|
|||
android:layout_marginRight="5dp"
|
||||
android:padding="0dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_action_refresh_black"
|
||||
android:src="@drawable/ic_action_refresh_grey"
|
||||
android:onClick="onRefreshClick"
|
||||
android:visibility="gone"
|
||||
android:background="@android:color/transparent"
|
||||
|
@ -126,6 +126,7 @@
|
|||
android:textColor="@color/login_text_color"
|
||||
android:textColorHint="@color/login_text_hint_color"
|
||||
android:text="@string/auth_testing_connection"
|
||||
android:minHeight="32dp"
|
||||
android:contentDescription="@string/auth_testing_connection"/>
|
||||
|
||||
<CheckBox
|
||||
|
|
|
@ -96,7 +96,6 @@
|
|||
android:padding="0dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_action_refresh_grey"
|
||||
android:onClick="onRefreshClick"
|
||||
android:visibility="gone"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/auth_refresh_button"
|
||||
|
@ -114,6 +113,7 @@
|
|||
android:textColor="@color/login_text_color"
|
||||
android:textColorHint="@color/login_text_hint_color"
|
||||
android:text="@string/auth_testing_connection"
|
||||
android:minHeight="32dp"
|
||||
android:contentDescription="@string/auth_testing_connection"/>
|
||||
|
||||
<CheckBox
|
||||
|
|
|
@ -176,7 +176,6 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||
private EditText mUsernameInput;
|
||||
private EditText mPasswordInput;
|
||||
private View mOkButton;
|
||||
private View mCenteredRefreshButton;
|
||||
private TextView mAuthStatusView;
|
||||
|
||||
private int mAuthStatusText = 0, mAuthStatusIcon = 0;
|
||||
|
@ -261,26 +260,15 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||
}
|
||||
});
|
||||
|
||||
mCenteredRefreshButton = findViewById(R.id.centeredRefreshButton);
|
||||
mCenteredRefreshButton.setOnClickListener(new View.OnClickListener() {
|
||||
findViewById(R.id.centeredRefreshButton).setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
checkOcServer();
|
||||
}
|
||||
});
|
||||
|
||||
mOkButton = findViewById(R.id.buttonOK);
|
||||
mOkButton.setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
onOkClick();
|
||||
}
|
||||
});
|
||||
|
||||
mCenteredRefreshButton = findViewById(R.id.centeredRefreshButton);
|
||||
mCenteredRefreshButton.setOnClickListener(new View.OnClickListener() {
|
||||
findViewById(R.id.embeddedRefreshButton).setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
|
Loading…
Reference in a new issue