1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-26 05:03:39 +00:00

add ciphers: card, identity, and sec note

This commit is contained in:
Kyle Spearrin
2017-10-19 13:44:05 -04:00
parent dd96608bb1
commit df616cfe3e
9 changed files with 1084 additions and 194 deletions

View File

@@ -6,6 +6,8 @@ namespace Bit.App.Models
{
public class Card
{
public Card() { }
public Card(CipherData data)
{
var deserializedData = JsonConvert.DeserializeObject<CardDataModel>(data.Data);

View File

@@ -6,6 +6,8 @@ namespace Bit.App.Models
{
public class Identity
{
public Identity() { }
public Identity(CipherData data)
{
var deserializedData = JsonConvert.DeserializeObject<IdentityDataModel>(data.Data);

View File

@@ -5,6 +5,8 @@ namespace Bit.App.Models
{
public class SecureNote
{
public SecureNote() { }
public SecureNote(CipherData data)
{
Type = data.SecureNoteType.Value;