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

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(" "))