mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Small fix
This commit is contained in:
parent
8470366d32
commit
68a7abed74
1 changed files with 6 additions and 2 deletions
|
@ -194,8 +194,10 @@ public class FragmentIdentity extends FragmentBase {
|
|||
@Override
|
||||
public void onItemSelected(AdapterView<?> adapterView, View view, int position, long id) {
|
||||
grpAuthorize.setVisibility(position > 0 ? View.VISIBLE : View.GONE);
|
||||
if (position == 0)
|
||||
if (position == 0) {
|
||||
tvError.setVisibility(View.GONE);
|
||||
grpAdvanced.setVisibility(View.GONE);
|
||||
}
|
||||
tilPassword.setPasswordVisibilityToggleEnabled(position == 0);
|
||||
|
||||
Integer tag = (Integer) adapterView.getTag();
|
||||
|
@ -401,8 +403,10 @@ public class FragmentIdentity extends FragmentBase {
|
|||
btnAutoConfig.setEnabled(false);
|
||||
cbInsecure.setVisibility(View.GONE);
|
||||
tilPassword.setPasswordVisibilityToggleEnabled(id < 0);
|
||||
btnSave.setVisibility(View.GONE);
|
||||
|
||||
btnAdvanced.setVisibility(View.GONE);
|
||||
|
||||
btnSave.setVisibility(View.GONE);
|
||||
pbSave.setVisibility(View.GONE);
|
||||
tvError.setVisibility(View.GONE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue