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

view updates

This commit is contained in:
Kyle Spearrin
2019-04-16 07:43:56 -04:00
parent 40598721f1
commit 7d6ec46ebe
5 changed files with 185 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ namespace Bit.Core.Models.Domain
OrganizationUseTotp = obj.OrganizationUseTotp;
Edit = obj.Edit;
RevisionDate = obj.RevisionDate;
CollectionIds = obj.CollectionIds;
CollectionIds = new HashSet<string>(obj.CollectionIds);
LocalData = localData;
switch(Type)
@@ -72,7 +72,7 @@ namespace Bit.Core.Models.Domain
public List<Attachment> Attachments { get; set; }
public List<Field> Fields { get; set; }
public List<PasswordHistory> PasswordHistory { get; set; }
public List<string> CollectionIds { get; set; }
public HashSet<string> CollectionIds { get; set; }
public async Task<CipherView> DecryptAsync()
{
@@ -153,7 +153,7 @@ namespace Bit.Core.Models.Domain
Favorite = Favorite,
RevisionDate = RevisionDate,
Type = Type,
CollectionIds = CollectionIds
CollectionIds = CollectionIds.ToList()
};
BuildDataModel(this, c, new HashSet<string>
{