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:
parent
cf9ee98ead
commit
14fb5ffae8
@ -76,7 +76,7 @@ public class LoginCredentialsFragment extends Fragment {
|
||||
|
||||
String userName = editUserName.getText().toString();
|
||||
if (userName.isEmpty()) {
|
||||
editUserName.setError(getString(R.string.login_user_name_required));
|
||||
editUserName.setError(getString(R.string.login_email_address_error));
|
||||
valid = false;
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
android:id="@+id/user_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/login_user_name"
|
||||
android:hint="@string/login_email_address"
|
||||
android:inputType="textEmailAddress"/>
|
||||
<com.etesync.syncadapter.ui.widget.EditPassword
|
||||
android:id="@+id/url_password"
|
||||
|
@ -127,7 +127,7 @@
|
||||
<!-- AddAccountActivity -->
|
||||
<string name="login_title">Add account</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_password">Password</string>
|
||||
<string name="login_encryption_password">Encryption Password</string>
|
||||
|
Loading…
Reference in New Issue
Block a user