1
0
mirror of https://github.com/etesync/android synced 2025-01-09 07:11:00 +00:00

Change username login field to 'email'.

This commit is contained in:
Tom Hacohen 2017-03-02 11:22:03 +00:00
parent cf9ee98ead
commit 14fb5ffae8
3 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ public class LoginCredentialsFragment extends Fragment {
String userName = editUserName.getText().toString(); String userName = editUserName.getText().toString();
if (userName.isEmpty()) { if (userName.isEmpty()) {
editUserName.setError(getString(R.string.login_user_name_required)); editUserName.setError(getString(R.string.login_email_address_error));
valid = false; valid = false;
} }

View File

@ -40,7 +40,7 @@
android:id="@+id/user_name" android:id="@+id/user_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="@string/login_user_name" android:hint="@string/login_email_address"
android:inputType="textEmailAddress"/> android:inputType="textEmailAddress"/>
<com.etesync.syncadapter.ui.widget.EditPassword <com.etesync.syncadapter.ui.widget.EditPassword
android:id="@+id/url_password" android:id="@+id/url_password"

View File

@ -127,7 +127,7 @@
<!-- AddAccountActivity --> <!-- AddAccountActivity -->
<string name="login_title">Add account</string> <string name="login_title">Add account</string>
<string name="login_type_email">Login with email address</string> <string name="login_type_email">Login with email address</string>
<string name="login_email_address">Email address</string> <string name="login_email_address">Email</string>
<string name="login_email_address_error">Valid email address required</string> <string name="login_email_address_error">Valid email address required</string>
<string name="login_password">Password</string> <string name="login_password">Password</string>
<string name="login_encryption_password">Encryption Password</string> <string name="login_encryption_password">Encryption Password</string>