From 3efa1c46ab6775ee11fd457f10cfb141f20f3d62 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 14 Nov 2017 09:14:03 +0100 Subject: [PATCH] remove numeric hint from captcha --- .../java/eu/siacs/conversations/ui/EditAccountActivity.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java index 019f51f7f..81128f808 100644 --- a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java @@ -1147,9 +1147,8 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat } final AlertDialog.Builder builder = new AlertDialog.Builder(EditAccountActivity.this); final View view = getLayoutInflater().inflate(R.layout.captcha, null); - final ImageView imageView = (ImageView) view.findViewById(R.id.captcha); - final EditText input = (EditText) view.findViewById(R.id.input); - input.setInputType(InputType.TYPE_CLASS_NUMBER); + final ImageView imageView = view.findViewById(R.id.captcha); + final EditText input = view.findViewById(R.id.input); imageView.setImageBitmap(captcha); builder.setTitle(getString(R.string.captcha_required));