mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
remove hacks
This commit is contained in:
parent
849ec6fa8f
commit
72ff680114
1 changed files with 4 additions and 4 deletions
|
@ -129,8 +129,8 @@ namespace Bit.Android
|
||||||
private void ParseLocked(bool forFill, ViewNode viewNode)
|
private void ParseLocked(bool forFill, ViewNode viewNode)
|
||||||
{
|
{
|
||||||
var autofillHints = viewNode.GetAutofillHints();
|
var autofillHints = viewNode.GetAutofillHints();
|
||||||
var autofillType = (AutofillType)(int)viewNode.AutofillType;
|
var autofillType = viewNode.AutofillType;
|
||||||
var inputType = (InputTypes)(int)viewNode.InputType;
|
var inputType = viewNode.InputType;
|
||||||
var isEditText = viewNode.ClassName == "android.widget.EditText";
|
var isEditText = viewNode.ClassName == "android.widget.EditText";
|
||||||
if(isEditText || (autofillHints?.Length ?? 0) > 0)
|
if(isEditText || (autofillHints?.Length ?? 0) > 0)
|
||||||
{
|
{
|
||||||
|
@ -210,8 +210,8 @@ namespace Bit.Android
|
||||||
_autofillOptions = view.GetAutofillOptions();
|
_autofillOptions = view.GetAutofillOptions();
|
||||||
Id = view.Id;
|
Id = view.Id;
|
||||||
AutofillId = view.AutofillId;
|
AutofillId = view.AutofillId;
|
||||||
AutofillType = (AutofillType)(int)view.AutofillType;
|
AutofillType = view.AutofillType;
|
||||||
InputType = (InputTypes)(int)view.InputType;
|
InputType = view.InputType;
|
||||||
IsFocused = view.IsFocused;
|
IsFocused = view.IsFocused;
|
||||||
AutofillHints = AutofillHelper.FilterForSupportedHints(view.GetAutofillHints())?.ToList() ?? new List<string>();
|
AutofillHints = AutofillHelper.FilterForSupportedHints(view.GetAutofillHints())?.ToList() ?? new List<string>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue