1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-12 22:33:25 +00:00

parse saved item info for save

This commit is contained in:
Kyle Spearrin
2017-11-17 17:15:42 -05:00
parent 184f13b148
commit abf75cffd9
13 changed files with 172 additions and 236 deletions

View File

@@ -161,7 +161,7 @@ namespace Bit.Android
}
var parser = new Parser(structure);
parser.ParseForFill();
parser.Parse();
if(!parser.FieldCollection.Fields.Any() || string.IsNullOrWhiteSpace(parser.Uri))
{
SetResult(Result.Canceled);
@@ -438,6 +438,7 @@ namespace Bit.Android
if(Intent.GetBooleanExtra("autofillFrameworkSave", false))
{
options.SaveType = (CipherType)Intent.GetIntExtra("autofillFrameworkType", 0);
options.SaveName = Intent.GetStringExtra("autofillFrameworkName");
options.SaveUsername = Intent.GetStringExtra("autofillFrameworkUsername");
options.SavePassword = Intent.GetStringExtra("autofillFrameworkPassword");
}