1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-03 17:13:50 +00:00

add other items to autofill from app page

This commit is contained in:
Kyle Spearrin
2017-11-20 16:07:33 -05:00
parent 6268130998
commit 84e79e92b4
9 changed files with 89 additions and 49 deletions

View File

@@ -6,6 +6,7 @@ namespace Bit.App.Models
{
public bool MyVault { get; set; }
public bool FromAutofillFramework { get; set; }
public CipherType? FillType { get; set; }
public string Uri { get; set; }
public CipherType? SaveType { get; set; }
public string SaveName { get; set; }

View File

@@ -13,6 +13,7 @@ namespace Bit.App.Models.Page
{
public Cipher(Models.Cipher cipher, IAppSettingsService appSettings)
{
CipherModel = cipher;
Id = cipher.Id;
Shared = !string.IsNullOrWhiteSpace(cipher.OrganizationId);
HasAttachments = cipher.Attachments?.Any() ?? false;
@@ -114,6 +115,7 @@ namespace Bit.App.Models.Page
}
}
public Models.Cipher CipherModel { get; set; }
public string Id { get; set; }
public bool Shared { get; set; }
public bool HasAttachments { get; set; }