Skip to content

Commit 25f4b56

Browse files
shmatulmanoldonev
authored andcommitted
fix(android-login): use passwordHint for password placeholder
1 parent cc83ffd commit 25f4b56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tns-core-modules/ui/dialogs/dialogs.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export function login(...args: any[]): Promise<LoginResult> {
241241
passwordInput.setInputType(android.text.InputType.TYPE_CLASS_TEXT | android.text.InputType.TYPE_TEXT_VARIATION_PASSWORD);
242242
passwordInput.setTypeface(android.graphics.Typeface.DEFAULT);
243243

244-
passwordInput.setHint(options.userNameHint ? options.userNameHint : "");
244+
passwordInput.setHint(options.passwordHint ? options.passwordHint : "");
245245
passwordInput.setText(options.password ? options.password : "");
246246

247247
const layout = new android.widget.LinearLayout(context);

0 commit comments

Comments
 (0)