mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 04:39:04 +00:00
Merge pull request #1774 from Hafizzle/Hafiz/update-forgot-pw
Updated forgot pw strings
This commit is contained in:
commit
277105e5ed
2 changed files with 5 additions and 2 deletions
|
|
@ -613,8 +613,9 @@
|
|||
<string name="fix_character_values">Fix Character Values</string>
|
||||
<string name="saving">Saving</string>
|
||||
<string name="forgot_password_title">Email a Password Reset Link</string>
|
||||
<string name="forgot_password_description">Enter the email address you used to register your Habitica account.</string>
|
||||
<string name="forgot_password_description">Enter your username or the email address you used to register your Habitica account.</string>
|
||||
<string name="forgot_password_confirmation">If we have your email on file, instructions for setting a new password have been sent to your email.</string>
|
||||
<string name="forgot_password_hint_example">e.g, habitrabbit or gryphon@example.com</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="profile">Profile</string>
|
||||
<string name="profile_summary">Edit your public profile.</string>
|
||||
|
|
|
|||
|
|
@ -405,7 +405,9 @@ class LoginActivity : BaseActivity() {
|
|||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
input.setAutofillHints(EditText.AUTOFILL_HINT_EMAIL_ADDRESS)
|
||||
}
|
||||
input.inputType = InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS
|
||||
input.inputType = InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS
|
||||
input.hint = getString(R.string.forgot_password_hint_example)
|
||||
input.textSize = 16f
|
||||
val lp = LinearLayout.LayoutParams(
|
||||
LinearLayout.LayoutParams.MATCH_PARENT,
|
||||
LinearLayout.LayoutParams.MATCH_PARENT
|
||||
|
|
|
|||
Loading…
Reference in a new issue