mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
no savetype var
This commit is contained in:
parent
5606a0a968
commit
e3e833d8c0
1 changed files with 2 additions and 3 deletions
|
@ -116,14 +116,13 @@ namespace Bit.Android.Autofill
|
|||
|
||||
public static void AddSaveInfo(FillResponse.Builder responseBuilder, FieldCollection fields)
|
||||
{
|
||||
var saveType = fields.SaveType;
|
||||
var requiredIds = fields.GetRequiredSaveFields();
|
||||
if(saveType == SaveDataType.Generic || requiredIds.Length == 0)
|
||||
if(fields.SaveType == SaveDataType.Generic || requiredIds.Length == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var saveBuilder = new SaveInfo.Builder(saveType, requiredIds);
|
||||
var saveBuilder = new SaveInfo.Builder(fields.SaveType, requiredIds);
|
||||
var optionalIds = fields.GetOptionalSaveIds();
|
||||
if(optionalIds.Length > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue