dont set uri if null

This commit is contained in:
Kyle Spearrin 2017-11-17 10:09:27 -05:00
parent cb22572f2b
commit a019b9e1d3

View file

@ -20,6 +20,12 @@ namespace Bit.Android.Autofill
get => _uri; get => _uri;
set set
{ {
if(string.IsNullOrWhiteSpace(value))
{
_uri = null;
return;
}
_uri = $"androidapp://{value}"; _uri = $"androidapp://{value}";
} }
} }