1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-23 11:45:38 +01:00

Don't index a "never" uri match.

This commit is contained in:
Kyle Spearrin 2019-11-19 07:47:01 -05:00
parent b0b7f2afdf
commit 429e62e6b5

View File

@ -70,7 +70,7 @@ namespace Bit.iOS.Core.Utilities
{ {
return null; return null;
} }
var uri = cipher.Login.Uris.FirstOrDefault()?.Uri; var uri = cipher.Login.Uris.FirstOrDefault(u => u.Match != Bit.Core.Enums.UriMatchType.Never)?.Uri;
if(string.IsNullOrWhiteSpace(uri)) if(string.IsNullOrWhiteSpace(uri))
{ {
return null; return null;