mirror of
https://gitee.com/willfree/min-vpn-client_v2.git
synced 2026-06-03 15:36:14 +08:00
注释掉注册登录Activity中自动填充Text的代码
This commit is contained in:
@@ -125,19 +125,19 @@ public class LoginActivity extends MINVpnBaseActivity<LoginActivityPresenter>
|
||||
|
||||
// 显示账号
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
// todo: 测试时自动填充
|
||||
etUsername.setText("wefree");
|
||||
// etUsername.setText(MINVpnSettingAPI.INSTANCE.getUsername());
|
||||
// // 测试时自动填充
|
||||
// etUsername.setText("wefree");
|
||||
etUsername.setText(MINVpnSettingAPI.INSTANCE.getUsername());
|
||||
}else{
|
||||
System.out.println("Base64Util.Base64PlusDecode error");
|
||||
}
|
||||
|
||||
// 如果设置了密码保存,则显示密码
|
||||
// todo: 测试时自动填充
|
||||
etPassword.setText("free@1898");
|
||||
// if(savePasswordBox.isChecked()){
|
||||
// etPassword.setText(MINVpnSettingAPI.INSTANCE.getPassword());
|
||||
// }
|
||||
// // 测试时自动填充
|
||||
// etPassword.setText("free@1898");
|
||||
if(savePasswordBox.isChecked()){
|
||||
etPassword.setText(MINVpnSettingAPI.INSTANCE.getPassword());
|
||||
}
|
||||
|
||||
// 登录按钮
|
||||
btnLogin.setBackgroundResource(R.drawable.button_shape_default);
|
||||
|
||||
@@ -89,13 +89,13 @@ public class RegisterActivity extends MINVpnBaseActivity<RegisterActivityPresent
|
||||
.circleCrop()
|
||||
.into(imgLogo);
|
||||
|
||||
// todo: 测试时自动填充
|
||||
etUsername.setText("wefree");
|
||||
etPassword.setText("free@1898");
|
||||
etRePassword.setText("free@1898");
|
||||
etPhoneNumber.setText("15239970973");
|
||||
etEmail.setText("255526727@qq.com");
|
||||
etInviteCode.setText("1234");
|
||||
// // 测试时自动填充
|
||||
// etUsername.setText("wefree");
|
||||
// etPassword.setText("free@1898");
|
||||
// etRePassword.setText("free@1898");
|
||||
// etPhoneNumber.setText("15239970973");
|
||||
// etEmail.setText("255526727@qq.com");
|
||||
// etInviteCode.setText("1234");
|
||||
|
||||
btnRegister.setBackgroundResource(R.drawable.button_shape_default);
|
||||
btnRegister.setOnClickListener(v->{
|
||||
|
||||
Reference in New Issue
Block a user