1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-19 09:43:27 +00:00

Added username/password copy options to extension when no password field is detected on the page details intitiated from.

This commit is contained in:
Kyle Spearrin
2016-07-28 19:12:51 -04:00
parent 9f54296ff0
commit bb4b732b76
3 changed files with 66 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
namespace Bit.iOS.Extension.Models
{
@@ -13,6 +14,7 @@ namespace Bit.iOS.Extension.Models
public Dictionary<string, Form> Forms { get; set; }
public List<Field> Fields { get; set; }
public long CollectedTimestamp { get; set; }
public bool HasPasswordField => Fields.Any(f => f.Type == "password");
public class Form
{