missing null check

This commit is contained in:
Kyle Spearrin 2019-01-16 16:38:12 -05:00
parent ba5495877c
commit 6f3c302f28

View file

@ -317,7 +317,7 @@ namespace Bit.Android
{
if(addressNode?.Text != null)
{
uri = browser.GetUriFunction(addressNode.Text).Trim();
uri = browser.GetUriFunction(addressNode.Text)?.Trim();
if(uri != null && uri.Contains("."))
{
if(!uri.Contains("://") && !uri.Contains(" "))