mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
fix(android-login): use passwordHint for password placeholder
This commit is contained in:

committed by
Manol Donev

parent
cc83ffdbdb
commit
25f4b562a0
@ -241,7 +241,7 @@ export function login(...args: any[]): Promise<LoginResult> {
|
||||
passwordInput.setInputType(android.text.InputType.TYPE_CLASS_TEXT | android.text.InputType.TYPE_TEXT_VARIATION_PASSWORD);
|
||||
passwordInput.setTypeface(android.graphics.Typeface.DEFAULT);
|
||||
|
||||
passwordInput.setHint(options.userNameHint ? options.userNameHint : "");
|
||||
passwordInput.setHint(options.passwordHint ? options.passwordHint : "");
|
||||
passwordInput.setText(options.password ? options.password : "");
|
||||
|
||||
const layout = new android.widget.LinearLayout(context);
|
||||
|
Reference in New Issue
Block a user