1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

only show autofills if a fillable login form

This commit is contained in:
Kyle Spearrin
2017-11-17 17:46:55 -05:00
parent abf75cffd9
commit da199deed1
3 changed files with 26 additions and 17 deletions

View File

@@ -33,7 +33,7 @@ namespace Bit.Android.Autofill
var parser = new Parser(structure);
parser.Parse();
if(!parser.FieldCollection.Fields.Any() || string.IsNullOrWhiteSpace(parser.Uri) ||
if(!parser.FieldCollection.FillableForLogin || string.IsNullOrWhiteSpace(parser.Uri) ||
parser.Uri == "androidapp://com.x8bit.bitwarden" || parser.Uri == "androidapp://android")
{
return;