1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-06 10:34:07 +00:00

Save newly added site in extension

This commit is contained in:
Kyle Spearrin
2016-07-09 13:11:18 -04:00
parent 066e48a721
commit 549ac1f996
5 changed files with 105 additions and 8 deletions

View File

@@ -167,7 +167,7 @@ namespace Bit.App.Models
{
ruleMatches.Add(result);
}
Debug.WriteLine(string.Format("Domain part {0} matched {1} {2} rules", checkAgainst, result == null ? 0 : 1, rule));
//Debug.WriteLine(string.Format("Domain part {0} matched {1} {2} rules", checkAgainst, result == null ? 0 : 1, rule));
}
}
@@ -180,11 +180,11 @@ namespace Bit.App.Models
TLDRule primaryMatch = results.Take(1).SingleOrDefault();
if(primaryMatch != null)
{
Debug.WriteLine(string.Format("Looks like our match is: {0}, which is a(n) {1} rule.", primaryMatch.Name, primaryMatch.Type));
//Debug.WriteLine(string.Format("Looks like our match is: {0}, which is a(n) {1} rule.", primaryMatch.Name, primaryMatch.Type));
}
else
{
Debug.WriteLine(string.Format("No rules matched domain: {0}", domainString));
//Debug.WriteLine(string.Format("No rules matched domain: {0}", domainString));
}
return primaryMatch;