remove numeric hint from captcha

This commit is contained in:
Daniel Gultsch 2017-11-14 09:14:03 +01:00
parent fced4a454e
commit 3efa1c46ab
1 changed files with 2 additions and 3 deletions

View File

@ -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));