1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-27 12:26:31 +01:00

[FIX] Consider default URI match type on filtering (#830)

This commit is contained in:
Jose F. Fernandez 2020-04-14 20:56:57 +02:00 committed by GitHub
parent 1dc027cf49
commit ed259cd130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,7 +342,12 @@ namespace Bit.Core.Services
continue;
}
var match = false;
switch (u.Match)
var toMatch = defaultMatch;
if (u.Match != null)
{
toMatch = u.Match;
}
switch (toMatch)
{
case null:
case UriMatchType.Domain: