mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-10 01:08:23 +02:00
remove hacks
This commit is contained in:
parent
849ec6fa8f
commit
72ff680114
@ -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 New Issue
Block a user