1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-08-11 20:33:52 +02:00

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}";
} }
} }