mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Remove the warning for uppercase in account creation for valid username
This commit is contained in:
parent
152858a242
commit
e7569a342a
1 changed files with 7 additions and 3 deletions
|
|
@ -117,9 +117,13 @@ public class WizardFragment extends Fragment {
|
|||
public void onClick(DialogInterface dialog, int id) {
|
||||
}
|
||||
});
|
||||
builder.setMessage(getString(R.string.setup_confirm_username).replace("%s", username.getText().toString().toLowerCase(Locale.getDefault())));
|
||||
AlertDialog dialog = builder.create();
|
||||
dialog.show();
|
||||
if(!username.getText().toString().equals(username.getText().toString().toLowerCase(Locale.getDefault()))){
|
||||
builder.setMessage(getString(R.string.setup_confirm_username).replace("%s", username.getText().toString().toLowerCase(Locale.getDefault())));
|
||||
AlertDialog dialog = builder.create();
|
||||
dialog.show();
|
||||
} else {
|
||||
createAccount(username.getText().toString().toLowerCase(Locale.getDefault()), password.getText().toString(), email.getText().toString(), false);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue