Prepopulate user name field with mail address in account wizard. Fixes #872

This commit is contained in:
Marcel Wiegand 2015-12-13 03:53:37 +01:00
parent 8d451766b5
commit ded6662578

View file

@ -276,7 +276,7 @@ public class AccountSetupBasics extends K9Activity
String email = mEmailView.getText().toString();
String password = mPasswordView.getText().toString();
String[] emailParts = splitEmail(email);
String user = emailParts[0];
String user = email;
String domain = emailParts[1];
try {
String userEnc = UrlEncodingHelper.encodeUtf8(user);
@ -385,7 +385,7 @@ public class AccountSetupBasics extends K9Activity
private void onManualSetup() {
String email = mEmailView.getText().toString();
String[] emailParts = splitEmail(email);
String user = emailParts[0];
String user = email;
String domain = emailParts[1];
String password = null;