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:
@@ -6,6 +6,8 @@ namespace Bit.App.Models
|
||||
{
|
||||
public class Card
|
||||
{
|
||||
public Card() { }
|
||||
|
||||
public Card(CipherData data)
|
||||
{
|
||||
var deserializedData = JsonConvert.DeserializeObject<CardDataModel>(data.Data);
|
||||
|
||||
@@ -6,6 +6,8 @@ namespace Bit.App.Models
|
||||
{
|
||||
public class Identity
|
||||
{
|
||||
public Identity() { }
|
||||
|
||||
public Identity(CipherData data)
|
||||
{
|
||||
var deserializedData = JsonConvert.DeserializeObject<IdentityDataModel>(data.Data);
|
||||
|
||||
@@ -5,6 +5,8 @@ namespace Bit.App.Models
|
||||
{
|
||||
public class SecureNote
|
||||
{
|
||||
public SecureNote() { }
|
||||
|
||||
public SecureNote(CipherData data)
|
||||
{
|
||||
Type = data.SecureNoteType.Value;
|
||||
|
||||
Reference in New Issue
Block a user