Review quick setup configuration

This commit is contained in:
M66B
2019-02-18 11:39:43 +00:00
parent 459f084890
commit d575de0353
3 changed files with 131 additions and 39 deletions

View File

@@ -308,6 +308,7 @@ public class FragmentAccount extends FragmentBase {
auth_type = Helper.AUTH_TYPE_PASSWORD;
tilPassword.getEditText().setText(null);
tilPassword.setEnabled(true);
tilPassword.setPasswordVisibilityToggleEnabled(true);
etRealm.setEnabled(true);
}
}
@@ -1362,6 +1363,7 @@ public class FragmentAccount extends FragmentBase {
btnAuthorize.setEnabled(true);
etUser.setEnabled(true);
tilPassword.setEnabled(auth_type == Helper.AUTH_TYPE_PASSWORD);
tilPassword.setPasswordVisibilityToggleEnabled(auth_type == Helper.AUTH_TYPE_PASSWORD);
etRealm.setEnabled(auth_type == Helper.AUTH_TYPE_PASSWORD);
btnCheck.setEnabled(true);
btnSave.setEnabled(true);