mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Fixed authorization status message
This commit is contained in:
parent
17776812ee
commit
9fe217ea4a
1 changed files with 3 additions and 3 deletions
|
@ -1010,11 +1010,11 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||
* to the interactions with the OAuth authorization server.
|
||||
*/
|
||||
private void showAuthStatus() {
|
||||
if (mServerStatusIcon == 0 && mServerStatusText == 0) {
|
||||
if (mAuthStatusIcon == 0 && mAuthStatusText == 0) {
|
||||
mAuthStatusLayout.setVisibility(View.INVISIBLE);
|
||||
} else {
|
||||
mAuthStatusLayout.setText(mServerStatusText);
|
||||
mAuthStatusLayout.setCompoundDrawablesWithIntrinsicBounds(mServerStatusIcon, 0, 0, 0);
|
||||
mAuthStatusLayout.setText(mAuthStatusText);
|
||||
mAuthStatusLayout.setCompoundDrawablesWithIntrinsicBounds(mAuthStatusIcon, 0, 0, 0);
|
||||
mAuthStatusLayout.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue